Tanya S 487c992b85
Add info for dogfooding to mint tokens with burning ETH method (#181)
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-03 09:37:30 +02:00

641 B

Dogfooding

📝 Prerequisites

  • Docker and Git
  1. Copy .env.example.publisher to .env and fill in all parameters.

    cp dogfooding/.env.example.publisher .env
    
  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
    
  3. Run the RLN registration script:

    ./register_rln.sh
    
  4. Start the node:

    docker compose up -d