SKALE: Ethereum-compatible sidechains
SKALE's elastic sidechains provide all benefits of standard full-capacity sidechains alongside the security guarantees of truly decentralized networks. Elastic sidechains are highly performant, configurable, and Ethereum / Web3 Compatible.
Follow the steps below to start using SKALE. If you have your SKALE Chains (S-Chain) already set up and you are looking for examples, please see Code Samples.
1. Connect to your S-Chain
For SKALE Innovator Program participants, access to your S-Chain will be provided by your Account Manager. Please reach out to your Account Manager directly.
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.
Connect MetaMask to SKALE
You will need to connect MetaMask to your SKALE Chain, by creating a Custom RPC connection to your SKALE Chain. Make sure to use the SKALE Chain endpoint provided to you by the SKALE team. MetaMask will be used to sign all transactions, including the initial deployment of your contracts onto SKALE.
Fund Your Wallet
In order to use your SKALE Chain, you will need to fund your MetaMask wallet account with the SKALE devnet Ether tokens. This can be accomplished by providing your devnet wallet address and your team name to our discord channel. We will transfer 1 devnet Ether to your account within 2 hours.
For SKALE Innovator Program participants, your Account Manager will provide a private discord channel for receiving testnet Ether.
2. Migrate Smart Contracts to S-Chain
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.
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:
truffle deploy --reset --network [ENTER_YOUR_NETWORK] --compile-all
See Code Samples for more deployment script examples.
3. Send a Transaction
Once your smart contracts have been moved over to your SKALE Chain, you can test sending out a new transaction.