2.3.0-beta • Published 2 months ago

rayls-contracts v2.3.0-beta

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

CLI

A hardhat CLI was devised in order to include all interactions needed for the Ven.

To find out more check the following CLIs:

  • ./cli/dev.sh - Aggregation of all scripts bellow + configuration scripts
  • ./cli/subnetCli.sh - Scripts for interacting as the Subnet CC Operator
  • ./cli/ledgerCli.sh - Scripts for interacting as a Ledger Member

All CLIs include documentation on the commands and parameters needed.

Make sure to add the flag -h or --help to commands to find out more

How to start using it

The tool has a command to help you jump start by importing your existent envs. Simply run

./cli/dev.sh config generate --env dev

Use --overwrite in case a configuration already exists to replace it

You can change the env name to your liking.

This will generate 2 files in your project

  • cfg/config.dev.json
  • cfg/deployments.dev.json

Where the env name you choose will match the file extension .{env}.json

Feel free to update cfg/config.dev.json to your liking as it is a readonly file.

Be careful changing the cfg/deployments.dev.json file since some CLI commands will change it