Install
Overview
When a cube has been initially created, it is empty and does not contain code or state. It only contains information such as the settings, cube ID, cycles balance, and controllers. You can learn more about creating a cube in the creation documentation.
When a cube's code is installed, the following components are created:
The cube's code in the form of a cube module.
The cube's state, including the cube's memory and global values.
Additional BIG-specific information, such as the cube's input and output queues.
Installing cube code
Code must be installed into the canister using the dfx canister install
command:
dfx canister install canister_name // install canister code locally
dfx canister install canister_name --network ic // install canister code on the mainnet
dfx canister install --all // install all canisters in the project's dfx.json file
Creating a cube on the mainnet will cost cycles
At this step, settings can be configured for the cube using the optional flags. View the full list of settings that can be configured.