Testing

The recommended way to test Klima protocol contracts or smart contracts utilizing the Klima Retirement Aggregator is using a forked blockchain testing environment. Popular smart contract development tools such as Foundry or Hardhat allow you to fork the current state of the Polygon blockchain using an RPC. This allows you or your locally deployed contracts to interact with existing contracts as if you were actually on the Polygon mainnet.

Once you've forked the Polygon mainnet, review existing contract deployment addresses.

If you prefer to make use of the Mumbai Testnet, see this constants file in our public frontend repository for a complete listing of the testnet contract addresses.

Last updated