You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Write down the token proxy address that is printed in the console output. Do this in the `config.example.json` file, under the `tokenProxy` key.
20
+
4. Deploy the claimable contract
21
+
```
22
+
make deploy-claimable-local
23
+
```
24
+
5. Write down the claimable contract proxy address that is printed in the console output.
25
+
6. Approve the claimable contract to spend the token from the distributor
26
+
```
27
+
make approve-claimable TOKEN=<token-proxy-address> AIRDROP=<claimable-proxy-address> PRIVATE_KEY=0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
28
+
```
29
+
30
+
## Testnet (Sepolia)
31
+
32
+
### Requisites
33
+
34
+
- Foundry
35
+
- Etherscan API key
36
+
37
+
### Run
38
+
39
+
1. Create a file `script-config/config.sepolia.json` following the example in `script-config/config.sepolia.example.json`.
40
+
2. Deploy the token
41
+
```
42
+
make deploy-token-testnet RPC_URL=<sepolia-rpc-url> PRIVATE_KEY=<sepolia-funded-account-private-key>
43
+
```
44
+
3. Write down the `token-proxy-address` that is printed in the console output. Do this in the `config.sepolia.json` file, under the `tokenProxy` key.
45
+
4. Deploy the claimable contract
46
+
```
47
+
make deploy-claimable-testnet RPC_URL=<sepolia-rpc-url> PRIVATE_KEY=<sepolia-funded-account-private-key> ETHERSCAN_API_KEY=<etherscan-api-key>
48
+
```
49
+
5. Write down the `claimable-proxy-address` that is printed in the console output.
50
+
6. Approve the claimable contract to spend the token from the distributor
51
+
```
52
+
make approve-claimable TOKEN=<token-proxy-address> AIRDROP=<claimable-proxy-address> PRIVATE_KEY=<sepolia-funded-distributor-private-key>
0 commit comments