Build distributed, scalable, edge based applications fast.
Make sure you have npm
installed. We recommend a version 18+
the fastest way to getting started with npm is installing it into your system using nvm
.
Where ever you are, run npx blessnet
to get context feedback. If calling from inside a project folder, information about the state of the project will be returned.
Otherwise the guided initializer will be called.
npx blessnet help
will always provide more information.
npx blessnet
- First launch you will be asked to install the
BLESS Runtime
.
➜ npx blessnet
BLESS environment not found. Do you want to install it? (yes/no): y
✔ Installation successful.
BLESS environment installed successfully.
You can now use the `blessnet` command.
Command | Description | Subcommands |
---|---|---|
init |
Initialize a new project | - |
deploy |
Deploy your project | - |
build |
Build the project | --debug |
wallet |
Manage Solana wallets | create , info |
preview |
Preview your project | serve |
manage |
Manage your project | type [newType] |
account |
Manage your account | login , logout |
Create a new project with the name foo
, the project will have a folder created called foo
npx blessnet init foo
cd foo
.
├── bls.toml # project config
├── index.ts # entry
├── package.json # javascript packages
├── tsconfig.base.json # typescript configs
├── tsconfig.debug.json # typescript configs
└── tsconfig.release.json # typescript configs
To deploy the application, cd into the directory and run
npx blessnet deploy
WARN
Install blessnet
globally for use without npx.
npm i -g blessnet
npx blessnet wallet list