Skip to main content

Glossary · Definition

Cheatcode

A cheatcode is a special instruction available inside a smart contract test that bends the rules of the blockchain, letting the test pretend to be another account, jump forward in time, hand an address a balance, or declare that the next call must fail.

Read the full entry with a CryptoBipto membership

The full entry for Cheatcode covers the detailed definition, how it works, an example and the mistakes beginners make.

CryptoBipto is a crypto education platform. It does not buy, sell, hold or send cryptocurrency for anyone, and it does not give financial advice.