Skip to content

Latest commit

 

History

History

starknet-gauntlet-cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Starknet Gauntlet CLI

This packages expose the commands to be used as a CLI of the following packages:

  • @chainlink/starknet-gauntlet-example
  • @chainlink/starknet-gauntlet-account
  • @chainlink/starknet-gauntlet-ocr2

Setup

Every command accepts the --network=<NETWORK> flag. The value will load the static environment variables under ./networks/.env.<NETWORK>. Currently 2 network configurations are available:

  1. Local
NODE_URL=http://127.0.0.1:5000
  1. Testnet
NODE_URL=https://alpha4.starknet.io

Miscellaneous

  • To show available methods for all contracts:
yarn gauntlet -h

-To show available methods for a single contract:

yarn gauntlet ocr2:deploy -h

It will show details for the specificed function with their needed parameters and their types, if any