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 ANJ or Fee tokens for a certain addressheartbeat
: Transition Court termsconfig
: Change Court configstake
: Stake ANJ tokens for a jurorunstake
: Unstake ANJ tokensactivate
: Activate ANJ to the Courtdeactivate
: Deactivate ANJ from the Courtdonate
: Donate funds to Court jurorsarbitrable
: Create new Arbitrable instance for the Courtsubscribe
: Subscribe Arbitrable instance to 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-juror
: Settle juror 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/aragonone/court-backend/
cd court-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.