Renewable Energy Certificate Retirement Tool
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool provides on-chain retirement of renewable energy certificates (RECs), enabling you to permanently retire tokens and generate verifiable proofs of renewable energy usage. It reads your connected wallet address, retirement contract address, token IDs, token metadata (energy source, amount, project ID), token owner, current block timestamp, retirement status, and retirement history. You can then sign and send transactions to retire individual REC tokens, batch retire multiple tokens in a single transaction, record retirement metadata on-chain, and generate retirement proofs. All retirement parameters are displayed in a clear review panel before you sign, so you know exactly what you are retiring. The tool also logs transaction hashes, confirmation status, and gas costs, providing a complete audit trail of all retirement activities.
HOW TO USE
Connect your wallet using the built-in wallet bridge, choose the network that matches your retirement contract, and paste the retirement contract address. Enter the token IDs you want to retire as a comma-separated list, and specify the token decimals for display purposes. The review panel shows all inputs, the current token status, and retirement history before you sign. Use the numbered action buttons: check tokens to view current token status, energy source, amount, project ID, and retirement status for each token; retire tokens to retire a single token; or batch retire to retire multiple tokens in a single transaction. You can also view retirement history to see all retirement timestamps associated with your address. Each transaction is signed sequentially, and the tool displays transaction details and confirmation status.
THE REAL MECHANISM
This tool uses ethers.js v5.7.2 to build and send transactions through the wallet's signer. It does not rely on any hardcoded contract addresses – you paste the retirement contract you are using, so you are in full control. When you retire a token, the tool constructs a contract call to the retireToken function, which marks the token as retired on-chain and records the retirement timestamp. When you batch retire, the tool calls batchRetire with an array of token IDs, processing all retirements in a single transaction to save gas. The tool reads token metadata via getTokenMetadata, which returns the energy source, amount, and project ID for each token, and checks retirement status via isRetired. The retirement history is read via getRetirementHistory. All transactions are sequential to prevent nonce conflicts, and gas costs are calculated using effectiveGasPrice for accurate post-EIP-1559 reporting.
WHAT IT CANNOT SEE
This tool cannot verify off-chain renewable energy generation, validate retirement authenticity, detect double-counting, or ensure that the retirement contract handles retirements correctly. It cannot detect if the renewable energy was actually generated or if the retirement is authentic. The tool also cannot verify that the retirement contract correctly handles edge cases like already retired tokens, invalid token IDs, or batch limits. It cannot simulate the outcome of a transaction before you sign it, nor can it guarantee that the retirement will be processed correctly if the contract is not properly implemented.
PLEASE NOTE
This tool works only on EVM-compatible chains supported by your wallet and provider. Always double-check the contract addresses and token IDs before signing. Use testnet first. The tool is a transaction-signing interface and retirement management tool, not a renewable energy generation or retirement authenticity validation system.