The following scripts are designed to help hub managers take certain actions to help clean-up their SKALE Chain.
- Run
git clone [email protected]:Dirt-Road-Development/skale-hub-scripts.git
- Run
npm install
- Run
cp .env.sample .env
and add a PRIVATE_KEY to your .env file (DO NOT SHARE or Upload to Source Control)
The config file in the root of the project called config.json allows you to configure the scripts quickly and efficienlty.
Available Chains
Chain Name | Key to Use | Testnet | Mainnet |
---|---|---|---|
Chaos | chaos | Yes | No |
Calypso | calypso | Yes | Yes |
Europa | europa | Yes | Yes |
nebula | nebula | Yes | Yes |
titan | titan | Yes | Yes |
-------- | ---------- | ------- | ------- |
The following script is designed to bulk remove the deployer role. The PRIVATE_KEY added must have DEPLOYER_ADMIN_ROLE to run this script successfully.
Make sure that you have updated the network and chain in the config.json file.
How to Run
npm run config::bulk::revoke::deployer
- Calypso and Europa bulk actions may take longer to run due to lack of MTM Mode
SKALE Hub Scripts comes WITHOUT ANY WARRANTY; without even the implied warranty for any user commerical or otherwise. The creators and contributors of this package may not be held liable for any damages, losses, issues, or problems caused resulting in the use of this package for any reason.
**EXPERIMENTAL NOTICE**
This package is under heavy development. Use at your own risk.
All contributions are made under the MIT License (including all sub projects). See License