sidebar_label | sidebar_position |
---|---|
'Development FAQ' | 1 |
Development
How do I apply for TestNet tokens?
Up to 50 NEO and GAS per day (per address & IP) can be requested via the NGD faucet . If you need more than that, go to https://neo.org/testcoin/apply and fill out the application form. If the application is accepted, you will be notified in three to five workdays.
If all else fails, you can request assets from other TestNet users via the official Neo Discord server (use #dev-general).
How do I launch a private chain?
The easiest way to launch a private Neo N3 chain instance is to use Neo Express . You can run it directly from the command line, or use it as part of the Neo Blockchain Toolkit for VSCode .
Alternatively, you can use the core client directly by following the instructions below:
-
Build a private chain with one node. See here .
-
Build a private chain on your local host. See here .
What languages can I use to develop smart contracts?
Neo supports a variety of mainstream programming languages and can be developed using C#, Python, Go, and Java. Compilers and other well-developed infrastructure can be found for each of these languages:
-
C# - Neo Devpack Dotnet
-
Python - Boa
-
Go - NeoGo
-
Java - neow3j
What SDKs are provided for developers?
Neo developer communities have developed and maintained various SDKs for many mainstream languages including C#, JavaScript, Java, Python, and Go. You can check them out here:
-
C# SDK: neo-devpack-dotnet
-
JavaScript SDK: neon-js
-
Java SDK: neow3j
-
Go: neo-go / neo-gogogo
-
Python: neo-mamba
How do I obtain the asset hash for NEP-17 tokens?
The asset hash of a given token is the contract's script hash. The most convenient method of obtaining an asset hash is by using a blockchain explorer which maintains a token list. A number of explorers offering this functionality can be found below:
Keep in mind that asset hashes will be different across different networks (excluding the NEO and GAS native token contracts).
Why do I receive a prompt saying that the object has no private key in the wallet when withdrawing assets from a multi-party signature contract?
After the private chain has been set up, you need to make the same configurations in all (n/2+1) wallets (n is the node number). In other words, add the multi-party signed address to each and then rebuild the wallet index.