This is a collection of tools for setting up local containerized single node environment for developing and testing Ethereum dApps on SKALE. It has been tested on both Mac and Ubuntu, and requires Docker.
It's super fast and easy – minimal setup is required. 💪
Once the container is running, you can use your usual tooling such as Truffle, Remix, Web3, etc. to deploy your Ethereum dApps to the SKALE container.
✏️ This SDK is limited to dApp development on SKALE Chains only. If you need to develop on SKALE Chains with Interchain Messaging Agent, see SKALE IMA SDK.
- single-node containerized version of
skaled
deamon; skaled-blockchain-explorer
(HTML UI for viewing blockchain);skaled-stats-viewer
(HTML UI for monitoring/troubleshooting running skaled).
sudo apt-get update
sudo apt install docker.io
Optionally (in case of troubles):
sudo service docker start
docker logout
- Clone this repo to your local machine.
- Run daemon:
./run.sh
. - Use either of the following as endpoint:
http://127.0.0.1:1234
ws://127.0.0.1:1233
- Set
chainID=54173
. - Use your wallet with the following test credentials:
Seed phrase: kidney describe moon museum join brave birth detect harsh little hockey turn
Address: 0x6d80aAC61F6d92c7F4A3c412850474ba963B698E
Private key: 0x16db936de7342b075849d74a66460007772fab88cf4ab509a3487f23398823d6
ℹ️ Only the SKALE Chain owner (
0x6d80a...
) can deploy contracts. To allow any address to deploy, append"freeContractDeployment": true
to L77 of config.json.in.
Usage:
run.sh OPTIONS
run.sh -? | --help
OPTIONS:
--host -h Local address to bind to (default: 0.0.0.0)
--http-port HTTP port to listen at (default: 1234 or use -1 to disable)
--ws-port WebSocket port to listen at (default: 1233 or use -1 to disable)
--port -p Same as --http-port
-e --defaultBalanceEther Amount of Ether to generate on schain owner's address (default: 100)
-b --blockTime Interval of empty blocks generation (default: 3 sec or use -1 to disable)
-? --help Display this help information.
skaled-blockchain-explorer/ethereum-explorer.html
skaled-stats-viewer/stats.html