Make sure that Node.js >= 16
and dfx
>= 0.14
are installed on your system.
Run the following commands in a new, empty project directory:
git clone
dfx start --clean --background # Run dfx in the background
npm run setup # Install packages, deploy canisters, and generate type bindings
npm start # Start the development server
When ready, run dfx deploy --network ic
to deploy your application to the Internet Computer.
- Prettier: code formatting for a wide range of supported languages
- Motoko: a safe and simple programming language for the Internet Computer
- Mops: an on-chain community package manager for Motoko
- mo-dev: a live reload development server for Motoko
- Internet Computer docs
- Best practices
dfx.json
reference schema- Motoko developer docs
- Mops usage instructions
- OC design overview
- Rust bot reference
Separate proposal retrieval? pub sub or tick and fetch? how to mock ()