This repository contains a Dev Container (optional) and Blast examples.
Search & install the 'Internet Base' and 'IB Blast Node Kernel' VS Code extensions, so you can open .blast files.
If you use this to start a new project inside a Dev Container, you can delete everything except the .devcontainer
directory.
Search & install the 'Dev Containers' extension.
From the left panel choose 'Remote Explorer'
Then click 'Open Folder in Container' and 'Open'. It may take a while the first time you do that.
You are in a container made by us which has everything you need to develop on the Internet Computer. Its files are inside .devcontainer
It also installs Blast Node Kernel so you can run .blast files inside it. Not using that Kernel while using readFile and readDir will result in errors.
Your terminal should look like this:
You can run this command to start dfx:
dfx start --clean --artificial-delay 0
Then open another terminal window and install NNS:
dfx nns install
Check the .blast files to see what more you can do.
Internet Computer documentation: https://internetcomputer.org
VSCode Dev Containers are explained here https://code.visualstudio.com/docs/devcontainers/containers
Internet Base https://internetbase.org