How to Join Nebulas Testnet¶
Introduction¶
We are glad to release Nebulas Testnet here. It simulate the Nebulas network and NVM, and allow developers to interact with Nebulas without paying the cost of gas.
https://github.com/nebulasio/go-nebulas/tree/testnet
Configuration¶
The testnet configuration files are in folder testnet/conf
under testnet
branch, including
genesis.conf¶
All configurable information about genesis block is defined in genesis.conf, including
- meta.chain_id: chain identity
- consensus.dpos.dynasty: the initial dynasty of validators
- token_distribution: the initial allocation of tokens
Attention: DO NOT change the genesis.conf.
config.conf¶
All configurable information about runtime is defined in config.conf.
Please check the template.conf
to find more details about the runtime configuration.
Tips: the official seed node info is as below,
seed:["/ip4/52.60.150.236/tcp/8680/ipfs/QmVJikqWQst13QsgdCLBjgcSWwpAAdZjoExGdvK3r2CNhv"]
API List¶
Test Endpoint:
| API | URL | Protocol | | — | :—: | :—: | | RESTful | https://testnet.nebulas.io/ | HTTP |
- GetNebState : returns nebulas client info.
- GetAccountState: returns the account balance and nonce.
- LatestIrreversibleBlock: returns the lastest irreversible block.
- Call: execute smart contract locally. the tx won’t be submitted on chain.
- SendRawTransaction: submit signed transaction. The transaction must be signed before send.
- GetTransactionReceipt: get transaction receipt info by tansaction hash.
More Nebulas APIs at RPC.
Tutorials¶
English¶
- Installation (thanks Victor)
- Sending a Transaction (thanks Victor)
- Writing Smart Contract in JavaScript (thanks otto)
- Introducing Smart Contract Storage (thanks Victor)
- Interacting with Nebulas by RPC API (thanks Victor)
Contribution¶
Feel free to join Nebulas Testnet. If you did find something wrong, please submit a issue or submit a pull request to let us know, we will add your name and url to this page soon.