sFUEL Station
The sFUEL Station is a general distribution for the SKALE Network.
It supports multiple chains by default as well as both Mainnet and Testnet.
The sFUEL Station is a great tool that can be used for easy onboarding for users that utilize many different SKALE applications that are supported by the sFUEL Station. However, the sFUEL Station can be a distraction for initial onboarding and should not be used as a primary sFUEL Distribution option, but available as an alternative for users.
Add your chain
Adding your chain to the sFUEL Station is a three-step process:
-
Deploy an on-chain faucet. The on-chain faucet should at a minimum provide the functionality found on SKALE Proof-of-Work distribution, however, for a more robust contract that offers more control such as pausing, changing limits, and destruction; checkout the sFUEL Distribution Contract.
-
Once the smart contract is deployed on your SKALE Chain, head over to the sFUEL Station on Github. Fork the repository, clone the repo down, and open up the folder in your favorite editor or terminal.
- Edit pow.json and add your chain information into the proper location. If you are using a testnet/staging chain, make sure to add it into the first array. If this is for a mainnet chain, add it to the second array. The details required are chainId, display name, rpc url, and the public object which should have an address field, a fnHash which is the function that will be called by Proof of Work, and then the max fuel amount which should match your smart contract.
- Edit the chains.json, platforms.json, and projects.json accordingly.
- Create a Pull Request and await for a review.
Management
Managing your on-chain faucet is very simple, just keep it filled up. How much you want to put in your on-chain faucet is up to you. Less is always better, however, if you know that you may not be able to fill it often, err on the side of more to reduce downtime and potential issues.
Additional sFUEL Station Documentation
Click here for the official documentation.