The TestNet is an environment where the user can develop, commission and test programs. Testing programs on the testnet incurs the network fee of testnet GAS (not real GAS!!). Testnet NEO and GAS can be applied free of charge, on the official website, detailed instruction are below.
All the blockchain of the test network are independent of the main network. If you develop a simple smart contract or try to register assets, the use of testnet should suffice. After the testing is complete, the development can be moved to the NEO mainnet online operation.
- Asset registration, asset distribution, contract execution, etc. (Does not consume real money)
- Globalized deployment in the Internet environment.
- Test of network blocks; Transactions and other information can be easily viewed in the blockchain browser.
- Smart contract deployment in the test environment, where anyone in the world can employ it.
- Test network can not be used as commercial application of an actual landing environment.
The test network client is the same as the primary network client. By modifying the client's configuration file, the client can be switched between the primary and test networks.
Reference: Introduction of NEO node.
|Releases||Official website or Github||Github|
Method of switching to test network
- Copy the contents of the program directory under the
- Copy the contents of the program (GUI) directory
config.jsonas shown in Figure
Method of getting TEST GAS and TEST NEO
If you are a developer, you can ask for NEO and GAS on the TestNet. You will need 500 Test GAS to deploy a contract to the TestNet.
- Fill in the request form (https://www.neo.org/Testnet/Create) specifying your PUBLIC key and EMAIL.
- A day or so later you will receive an email with an Contract Address and a second PUBLIC KEY.
- Create/Add a multi-sig address in your wallet.
- Select the new address and transfer the assets from the multi-part signed address to your own address.
STEP 1 - Look up your PUBLIC key
In NEO the address and PUBLIC key are different.
The PUBLIC KEY is shown when you view the PRIVATE KEY. (Never share your PRIVATE key.)
STEP 2 - Fill in the request
Complete the form here: https://www.neo.org/Testnet/Create specifying your EMAIL and PUBLIC key. After a day or so you will be sent an email containing a "Multi-party signed address" and the PUBLIC key of the sender. See Advanced Features, Multi-party signed address.
STEP 3 - Create a multi-party signed address
To access the assets, in your neo-gui you will create a "Multi-party signed address" in your wallet using
- The "Multi-party signed address" (from the email)
- The PUBLIC KEY of the sender (from the email)
- Your PUBLIC KEY (from STEP 1 above)
From NEO-GUI, right-click on the account area and select
Create Contract Address->
In the public key list, enter the public keys used for signing. (PUB Key of sender and your PUB key)
- Specify the minimal number of signatures to be
The contract address specified in the email is created and displayed in the account page.
You will see the quantity of NEO and/or GAS shown beside the Contact address.
STEP 4 - Transfer the assets to another account
Contact addressby clicking on it.
From NEO-GUI menu, select
- Select the Asset and the amount to send and the account you want to transfer the asset to.
Alternatives to the TestNet
Testing your Smart Contract on the TestNet is a good idea before publishing it on the LIVE network but earlier in your development cycle you should consider using other methods to test your Smart Contacts such as:
- Using Neo.VM if developing in C# with Visual Studio
- Running you own PRIVATE Testnet