How to get ANJ and become an Aragon Court juror
ANJ (Aragon Network Juror) is the native token of Aragon Court, which jurors need to activate in the Court to be selected and earn dispute fees. The use of ANJ helps align the incentives of jurors with the long-term health of the Court, ensuring the Court's integrity. The following tutorial will guide you through the steps necessary to get ANJ in order to become an Aragon Court juror.
If you acquire ANJ through any method other than by using the conversion module at anj.aragon.org, then to receive Aragon Court juror notification emails you must send a message through the contact form at help.aragon.org to let us know the email address you want to use for Aragon Court notifications and the Ethereum address that you will use to interact with Aragon Court. You can also contact us this way if you need to change your email or Ethereum address. In the future, email notification management will be available directly in the Court Dashboard interface.
Please be aware that if you do not sign up for email notifications, you will have to check the Aragon Court Dashboard regularly on your own to see if you have any juror tasks to perform, and if you do not perform these tasks on time, you will lose money for failure to perform your juror tasks. Due to the risk of losing money, we strongly suggest that you sign up for email notifications.
Step 1. Check the ANJ conversion rate
Currently, jurors must hold and activate at least 10,000 ANJ to be eligible for drafting and earning subscription fees. Visit anj.aragon.org to check the current ANJ conversion rate for the token you want to use to purchase ANJ. The conversion module on anj.aragon.org currently supports buying ANJ using ANT, DAI, ETH, and USDC.
Step 2. Get one of the supported tokens to buy ANJ
You can purchase one of tokens supported by the ANJ conversion module (ANT, DAI, ETH, or USDC) on various exchanges such as Uniswap, DEX.AG, or other token exchanges. If you already have enough of one of these tokens and you want to use the tokens to buy ANJ, you can skip this step.
Then use the conversion module to convert your tokens into the desired amount of ANJ.
ANJ is a continuous token, the supply of which is regulated by a bonding curve. A bonding curve is an automated market maker smart contract that defines a relationship between token price and token supply.
ANT is the reserve token used to back the ANJ supply. As more ANT is deposited in the ANJ bonding curve, the total supply of ANJ increases; as ANT is withdrawn from the bonding curve, the total supply of ANJ decreases.
The bonding curve is used to convert ANT into ANJ and back at pre-defined rates. The way the ANJ bonding curve is set up, the more ANT is sent to the bonding curve, the fewer new ANJ will be released back to the sender; the more ANJ is sent to the bonding curve, the fewer ANT will be released back to the sender.
Convert using the ANJ bonding curve
You can convert ANT to/from ANJ directly through the ANJ bonding curve using the conversion interface at convert.aragon.org. Click the arrows in the middle of the screen to change the direction of your conversion. Enter the amount you want to convert, then click the "Convert" button at the bottom of the screen to confirm your transaction.
Converting ANT to ANJ:
Using the bonding curve to convert ANT to ANJ requires multiple transactions. If one of these transactions fails for some reason, you can follow the instructions in the troubleshooting guide to complete the transaction.
Converting ANJ to ANT:
Like the ANT to ANJ conversion, using the bonding curve to convert ANJ back to ANT requires multiple transactions. If one of these transactions fails for some reason, you can follow the instructions in the troubleshooting guide to complete the transaction.
Go to Uniswap and convert obtained
ANJ tokens to
ANT, or vice versa. You can convert the ANJ tokens to any other token or
ETH, but getting
ANJ back makes it easier to repeat the operation.
If you want to do this programatically, instead of using Etherscan and Uniswap frontend, these are the packages you need:
Install dependencies, compile contracts and you have ABI files in
build/contracts as usual in a truffle project.
Download the repo and install dependencies.
<code>git clone <https://github.com/Uniswap/contracts-vyper> cd contracts-vyper pip3 install virtualenv virtualenv -p python3 env source env/bin/activate pip install -r requirements.txt
Then to get the ABI you can use:
<code>vyper -f abi contracts/uniswap_exchange.vy
Alternatively, you can use the Solidity version from this repo.