Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
90 lines (56 sloc) 5.17 KB

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/47.92.203.173/tcp/8680/ipfs/QmfSJ7JUnCEDP6LFyKkBUbpuDMETPbqMVZvPQy4keeyBDP","/ip4/47.89.180.5/tcp/8680/ipfs/QmTmnd5KXm4UFUquAJEGdrwj1cbJCHsTfPWAp5aKrKoRJK"]

Synchronization

Since Nebulas testnet is running there for certain period of time, it will take quite some time to sync all the testnet data from scratch.

For developers' convenience, we provided a offline data package, which already includes the data of more than 1.2 million blocks, you can download the package directly by following either link below (choose whichever is faster for you):

Please note that, the data package should be put under the same path of "datadir" as specified in your config.conf file.

API List

Test Endpoint:

API URL Protocol
RESTful https://testnet.nebulas.io/ HTTP

More Nebulas APIs at RPC.

Token Claim

Every email can claim some tokens every day at here.

Tutorials

English

  1. Installation (thanks Victor)
  2. Sending a Transaction (thanks Victor)
  3. Writing Smart Contract in JavaScript (thanks otto)
  4. Introducing Smart Contract Storage (thanks Victor)
  5. Interacting with Nebulas by RPC API (thanks Victor)

中文

  1. 编译安装及运行neb
  2. 在星云链上发送交易
  3. 使用JavaScript编写智能合约
  4. 智能合约存储区介绍
  5. 通过RPC接口与星云链交互

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.