Wiki

A smart contract on a blockchain is permanent. Once deployed, the bytecode cannot be edited. If it has a bug that drains funds, the bug is permanent too. Two minutes of reading saves you from very expensive mistakes.

Pre-flight checklist

  1. Read the contract end to end. Ask Claude to summarise what each function does in one sentence.
  2. Ask "who can call each function?" Functions that move tokens or change ownership should be locked down to specific addresses.
  3. Ask "is there a way to pause or upgrade this?" If the answer is "no" and you are not 100% sure of the code, do not deploy.
  4. Deploy on testnet first. Run every flow at least three times. Read every output.
  5. Only when all of the above is green: deploy on mainnet, with a small initial amount of KLV in the contract, not your full intended supply.