Follow the steps below to start using SKALE. If you have your SKALE Chains already set up and you are looking for examples, please see Code Samples
If you do not have a SKALE Chain yet, request one by using the link below.
1. Prepare your SKALE Chain
SKALE Chains on the devnet will already be configured for you, and will not require any updates to get started with deploying your Smart Contracts onto SKALE.
In order to use your SKALE Chain, you will need to fund your wallet account with the SKALE devnet ETH tokens. This can be accomplished by using the SKALE Faucet to receive 0.5 test ETH.
SKALE is able to process smart contracts written in Solidity. This makes migrating your smart contracts from Ethereum fast and easy. Some smart contract updates or changes may be needed to enable certain features in SKALE such as transferring money and saving state. Please reference the respective sections within Code Samples
NOTE: In order to deploy your smart contracts onto SKALE, the transaction needs to be signed. This code below shows how to use the truffle-hdwallet-provider package to sign the transaction with the private key of your wallet:
You can point your deployment scripts for your existing smart contracts to your S-Chain’s address and deploy using existing tooling (e.g.: Truffle). An example truffle deployment command is:
See Code Samples
for more deployment script examples.
Once your smart contracts have been moved over to your SKALE Chain, you can test sending out a new transaction, using Web3.js or Web3.py. Remember to point your Web3 instance to your SKALE Chain.