You can get the binary in one of the following ways:
1.
Download the latest binary from Github
2.
Build from source
If you want to download the binary, go to the Release page of Astar Github repository. You can find the pre-built binaries for MacOS and Ubuntu as well as Docker images. If you want to build from source, this readme helps you a lot!
After you get the binary, you can rename the binary file to shiden and add execution permission to the binary by running the following command:
1
$ chmod +x ./shiden
Copied!
Then you can execute the binary! To check whether you can run the node, let's check the binary version.
1
./shiden --version
2
# astar-collator 2.5.1-ae46758-x86_64-macos
Copied!
Run the local network
You are already ready to run the local network. Simply run the following command:
This visualizes your local network. In this local network, some native tokens are already issued and allocated to some accounts. Let's go to the Account page from Accounts Tab.
You can see that ALICE and BOB have around 1,000 tokens. In the following section, you can deploy your smart contract and interact with it by paying the transaction fee using these tokens.
In the Polkadot explorer, it's possible to interact with Substrate RPC only. So how can you do interact with Ethereum RPC? You can use Metamask for that!