package
0.0.0-20220711173236-1b15b1049a27
Repository: https://github.com/chainsafe/chainbridge-celo.git
Documentation: pkg.go.dev

# README

cb-sol-cli Documentation

This CLI supports on-chain interactions with components of ChainBridge.

Installation

Usage requires the ABI files from the contracts which will be fetched and built from the chainbridge-solidity repo.

$ make rebuild-contracts

Then run

$ make install

and start using cli with

$ chainbridge-celo cli help

Usage

The root command (cb-sol-cli) has some options:

--url <value>                 URL to connect to
--gasLimit <value>            Gas limit for transactions 
--gasPrice <value>            Gas price for transactions 
--networkId <value>	      Network id

The keypair used for interactions can be configured with:

--privateKey <value>           Private key to use

or

--jsonWallet <path>           Encrypted JSON wallet
--jsonWalletPassword <value>  Password for encrypted JSON wallet

There are multiple subcommands provided:

  • deploy: Deploys contracts via RPC
  • bridge: Interactions with the bridge contract such as registering resource IDs and handler addresses
  • admin: Interactions with the bridge contract for administering relayer set, relayer threshold, fees and more.
  • erc20: Interactions with ERC20 contracts and handlers
  • erc721: Interactions with ERC721 contracts and handler

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author