Networks
If you don't have access to a Linux box you can quickly setup one on DigitalOcean and other cloud providers.
Testnet (Public)
General
| Property | Value |
|---|---|
| Token Name | DARK Token |
| Symbol | DARK |
| Decimals | 18 |
| Chain ID | 11812 |
Files
| Name | File |
|---|---|
| Crypto | crypto.json |
| App | app.json |
| Seed peers | peers.json |
Ports
| Process | Port number |
|---|---|
| P2P | 4000 |
| Public API | 4003 |
| Transaction Pool API | 4007 |
| RPC API | 4008 |
Endpoints
| URL | Purpose | Description |
|---|---|---|
https://testnet.mainsailhq.com/api | HTTP API (REST) | Public-facing RESTful API for interacting with blocks, wallets, transactions, etc. |
https://testnet.mainsailhq.com/tx | Transaction Broadcasting | Endpoint for submitting raw transactions to the network. |
https://testnet.mainsailhq.com/rpc | JSON-RPC Endpoint | RPC interface for querying node state and executing smart contract calls. |
Explorer
Receiving testnet tokens
You can receive testnet tokens from the DARK Faucet. The faucet is a service that provides free tokens to testnet users.
You need to provide your testnet address to receive tokens. If you don't have a testnet address, you can create one using the Mainsail TX Tester.
Devnet (Local)
General
| Property | Value |
|---|---|
| Token Name | DARK Token |
| Symbol | DARK |
| Decimals | 18 |
| Chain ID | 10000 |
Files
| Name | File |
|---|---|
| Crypto | crypto.json |
| App | app.json |
| Seed peers | peers.json |
Ports
| Process | Port number |
|---|---|
| P2P | 4000 |
| Public API | 4003 |
| Transaction Pool API | 4007 |
| RPC API | 4008 |
Endpoints
| URL | Purpose | Description |
|---|---|---|
http://localhost:4003/api | HTTP API (REST) | Public-facing RESTful API for interacting with blocks, wallets, transactions, etc. |
http://localhost:4007/api | Transaction Broadcasting | Endpoint for submitting raw transactions to the network. |
http://localhost:4008/api | JSON-RPC Endpoint | RPC interface for querying node state and executing smart contract calls. |