Development networks
Last updated
Was this helpful?
Last updated
Was this helpful?
When building an Electroneum Smart Chain application with smart contracts, you'll want to run it on a local network to see how it works before deploying it.
Similar to how you might run a local server on your computer for web development, you can use a development network to create a local blockchain instance to test your dapp. These Electroneum Smart Chain development networks provide features that allow for much faster iteration than a public testnet (for instance you don’t need to deal with acquiring ETN from a testnet faucet).
You should understand the and before diving into development networks.
Development networks are essentially Electroneum Smart Chain clients designed specifically for local development.
You could but since development networks are purpose-built for development, they often come packed with convenient features like:
Deterministically seeding your local blockchain with data (e.g. accounts with ETN balances)
Instantly producing blocks with each transaction it receives, in order and with no delay
Enhanced debugging and logging functionality
As the Electroneum Smart Chain is based on the Ethereum Virtual Machine and RPC, much of the Ethereum tooling can also be used with our smart chain.
Note: Most include a built-in development network. We recommend starting with a framework to set up your local development environment.
Quickly fire up a personal Ethereum blockchain which you can use to run tests, execute commands, and inspect state while controlling how the chain operates.
Ganache provides both a desktop application (Ganache UI), as well as a command-line tool (ganache-cli
). It is part of the Truffle suite of tools.
A local Ethereum network designed for development. It allows you to deploy your contracts, run your tests and debug your code.
Hardhat Network comes built-in with Hardhat, an Ethereum development environment for professionals.