The decentralized blockchain platform that built for blockchain games and high-frequency applications. Applications running on top of Gafi Network will never bother about the security, transaction fee, malicious accounts, and many other bad factors. They can just focus on gameplay, game experience, or application logic. The Gafi Network supports EVM (Ethereum Virtual Machine) that projects deploy from Ethereum or Binance Smart Chain to Gafi Network with little or no change.
Follow the steps below to get started with the Node Template, or get it up and running right from your browser in just a few clicks using the Substrate Playground 🛠️
First, complete the basic Rust setup instructions.
make test
make build
or visit build wiki for more detail
make run
make benchmark
Once the node template is running locally, you can connect it with Polkadot-JS Apps front-end to interact with your chain. Click here connecting the Apps to your local node template.
First, install Docker and Docker Compose.
Then run the following command to start a single node development chain.
./scripts/docker_run.sh
This command will firstly compile your code, and then start a local development network. You can
also replace the default command
(cargo build --release --features with-game3 && ./target/release/gafi-node --dev --ws-external
)
by appending your own. A few useful ones are as follow.
# Run Gafi node without re-compiling
./scripts/docker_run.sh ./target/release/gafi-node --dev --ws-external
# Purge the local dev chain
./scripts/docker_run.sh ./target/release/gafi-node purge-chain --dev
# Check whether the code is compilable
./scripts/docker_run.sh cargo check