mirror of
https://github.com/logos-messaging/logos-messaging-nim-compose.git
synced 2026-01-02 14:03:11 +00:00
Add info for dogfooding to mint tokens with burning ETH method
This commit is contained in:
parent
5f704a6378
commit
89f9f3745d
@ -22,6 +22,9 @@ RLN_CONTRACT_ADDRESS=0xB9cd878C90E49F797B4431fBF4fb333108CB90e6
|
||||
# Address of the RLN Membership Token contract on Linea Sepolia used to pay for membership.
|
||||
TOKEN_CONTRACT_ADDRESS=0xd28d1a688b1cBf5126fB8B034d0150C81ec0024c
|
||||
|
||||
# Amount of ETH to send with the minting transaction to obtain RLN membership tokens. e.g. use value of 5000000000000000000 (wei) for 5 tokens
|
||||
ETH_AMOUNT=<ETH_AMOUNT>
|
||||
|
||||
# Password you would like to use to protect your RLN membership.
|
||||
RLN_RELAY_CRED_PASSWORD="my_secure_keystore_password"
|
||||
|
||||
|
||||
@ -9,7 +9,12 @@
|
||||
```
|
||||
cp dogfooding/.env.example.publisher .env
|
||||
```
|
||||
2. Obtain test tokens (if needed, request in Discord).
|
||||
2. Obtain test tokens.
|
||||
The total tokens minted is determined by the amount of ETH sent with the transaction.
|
||||
|
||||
```
|
||||
cast send $TOKEN_CONTRACT_ADDRESS "mintWithETH(address)" $ETH_TESTNET_ACCOUNT --value $ETH_AMOUNT --rpc-url $RLN_RELAY_ETH_CLIENT_ADDRESS --private-key $ETH_TESTNET_KEY --from $ETH_TESTNET_ACCOUNT
|
||||
```
|
||||
3. Run the RLN registration script:
|
||||
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user