|
6 | 6 | > Foundry must be installed and running. |
7 | 7 |
|
8 | 8 | 1. Run `anvil` in one terminal. |
9 | | -2. Get your local **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.example.json` file. |
| 9 | +2. Get your local **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.example.json` file. **Only the `foundation` and `tokenDistributor` fields should be modified in this step**. |
10 | 10 | 3. Run `make deploy-token-local DEPLOYER_PRIVATE_KEY=<deployer_private_key>` in another terminal. |
11 | 11 | 4. Write down the forge script's output (the addresses of the token proxy and its admin preferably). |
12 | | -5. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the token proxy address. |
| 12 | +5. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the token proxy address. **Only the `tokenProxy` field should be modified in this step**. |
13 | 13 | 6. Run `make deploy-claimable DEPLOYER_PRIVATE_KEY=<deployer_private_key>`. |
14 | 14 | 7. Write down the forge script's output (the addresses of the claimable proxy and its admin preferably). |
15 | | -8. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the claimable proxy address. |
| 15 | +8. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the claimable proxy address. **Only the `claimableProxy` field should be modified in this step**. |
16 | 16 | 9. Run `make claimable-update-root RPC_URL=http://localhost:8545 OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> MERKLE_ROOT=<merkle_root>`. |
17 | 17 | 10. Run `make claimable-update-timestamp RPC_URL=http://localhost:8545 OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> TIMESTAMP=2733427549`. |
18 | 18 | 11. Run `make approve-claimable RPC_URL=http://localhost:8545 DISTRIBUTOR_PRIVATE_KEY=<token_distributor_private_key> TOKEN=<token_proxy_address> AIRDROP=<claimable_proxy_address>`. |
|
28 | 28 | > Foundry must be installed and running. |
29 | 29 | > You must have an Etherscan API key. |
30 | 30 |
|
31 | | -1. Get your **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.sepolia.json` file (as it is done in the `claim_contracts/script-config/config.example.json` file). |
| 31 | +1. Get your **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.sepolia.json` file (as it is done in the `claim_contracts/script-config/config.example.json` file). **Only the `foundation` and `tokenDistributor` fields should be modified in this step**. |
32 | 32 | 2. Run `make deploy-token-testnet DEPLOYER_PRIVATE_KEY=<deployer_private_key> RPC_URL=<sepolia_rpc_url> ETHERSCAN_API_KEY=<your_etherscan_api_key>`. |
33 | 33 | 3. Write down the forge script's output (the addresses of the token proxy and its admin preferably). |
34 | | -4. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the token proxy address. |
| 34 | +4. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the token proxy address. **Only the `tokenProxy` field should be modified in this step**. |
35 | 35 | 5. Run `make deploy-claimable-testnet DEPLOYER_PRIVATE_KEY=<deployer_private_key> RPC_URL=<sepolia_rpc_url> ETHERSCAN_API_KEY=<your_etherscan_api_key>`. |
36 | 36 | 6. Write down the forge script's output (the addresses of the claimable proxy and its admin preferably). |
37 | | -7. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the claimable proxy address. |
| 37 | +7. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the claimable proxy address. **Only the `claimableProxy` field should be modified in this step**. |
38 | 38 | 8. Run `make claimable-update-root RPC_URL=<sepolia_rpc_url> OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> MERKLE_ROOT=<merkle_root>`. |
39 | 39 | 9. Run `make claimable-update-timestamp RPC_URL=<sepolia_rpc_url> OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> TIMESTAMP=2733427549`. |
40 | 40 | 10. Run `make approve-claimable RPC_URL=<sepolia_rpc_url> DISTRIBUTOR_PRIVATE_KEY=<token_distributor_private_key> TOKEN=<token_proxy_address> AIRDROP=<claimable_proxy_address>`. |
|
52 | 52 | > - Step 3 must be done by the token distributor multisig as it is the one that has the tokens to be claimed. |
53 | 53 |
|
54 | 54 | > [!WARNING] |
| 55 | +> |
55 | 56 | > - Double-check the data you passing into the commands, any mistake can lead to undesired behavior. |
56 | 57 |
|
57 | 58 | 1. Update the merkle root |
|
0 commit comments