This tool aims to provide a set of commands to interact with an Aragon Court instance. Currently, there is no published version of it. However, you can use it locally.
mint
: Mint tokens for a certain addressheartbeat
: Transition Court termspay
: Send Aragon Court paymentconfig
: Change Court configstake
: Stake tokens for a guardianunstake
: Unstake tokensactivate
: Activate tokens into the Courtdeactivate
: Deactivate tokens from the Courtarbitrable
: Create new Arbitrable instance for the Courtdispute
: Create dispute submitting evidencedraft
: Draft dispute and close evidence submission period if necessarycommit
: Commit vote for a dispute roundreveal
: Reveal committed voteappeal
: Appeal dispute in favour of a certain outcomeconfirm-appeal
: Confirm an existing appeal for a disputesettle-round
: Settle penalties and appeals for a disputesettle-guardian
: Settle guardian for a disputeexecute
: Execute ruling for a dispute
To use the CLI tool locally simply run the following commands to install it locally:
git clone https://github.com/aragon/protocol-backend/
cd protocol-backend
npm i
npx lerna bootstrap
cd packages/cli
The only thing you need to setup is to make sure you configure an Aragon Court address in the truffle-config.js
file of the shared package.
After that, you can start playing with all the provided commands:
This repo is using @aragon/truffle-config-v5
, it is not using Truffle, but truffle config to load the network configuration following the standard way provided by Truffle.
Thus, keys are fetched from ~/.aragon/${NETWORK}_key.json
files.