Canister Smart Contracts

Smart contracts on the Internet Computer come in the form of canisters: computational units that bundle code and state. Canisters expose endpoints that can be called by other canisters and parties external to the IC, such as browsers or mobile apps.

There are two types of endpoints in canisters: updates and queries. Updates modify the state of the canister, while queries read from the state without making changes. The code of a canister is a WebAssembly (Wasm) module. The state includes the usual Wasm memory heap, a special type of memory called stable memory and metainformation about the canister.

The articles in this section describe

Additional Resources

Canister Developer Docs