ICE Network is an EVM compatible network built with Parity’s Substrate framework. ICE is the first network to use the Substrate SDK to extend the feature-set of an existing layer one blockchain protocol. In addition, ICE will provide the much-needed addition of EVM compatibility to the ICON ecosystem
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Nightly build and toolchain setup
rustup default stable
rustup update
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
This should be sufficient to get started, refer to Substrate installation guide for more details if needed
Prerequisites (Ubuntu 20.04)
wasm32-unknown-unknown
target addedbuild-essential
libclang-dev
To build the chain, execute the following commands from the project root:
$ cargo build --release
To execute the chain, run:
$ ./target/release/ice-node --dev --tmp
Note: optional --tmp
flag will automatically purge the node DB
This will start a local development ICE node with solo validator and predefined accounts, use Polkadot-JS to explore the network
Use manual seal to produce block manually through RPC
$ ./target/release/ice-node --dev --sealing manual
git clone https://github.com/paritytech/polkadot.git -b release-v0.9.19
cd polkadot
cargo build --release
cd -
Install Polkadot-launch
Prerequisites (tested on Ubuntu 20.04)
npm install --global yarn
)
yarn global add polkadot-launch
Run Polkadot-launch
cd ./ice-substrate/resources
polkadot-launch arctic-launch.json
It will about 2 minutes to start the relay chain and arctic collator