A smart contract framework for Vaulta.
npm i -g @vaulta/bolt
You can also use npx
for any of these commands so that you don't need to manually install first.
For instance:
npx @vaulta/bolt create ...
bolt create <project_name> [optional_directory]
bolt scaffold <type(contract|test|deployment)> <name|network> [optional_directory]
bolt build
bolt test [--build]
bolt deploy <network> [--build]
Head over to the Vaulta Template Projects Repo and see how you can use bolt to generate starterkit templates.
When you create a project you get a bolt.config.js
file and a .env
file.
Inside your .env
you will put any private keys you need.
The bolt.config.js
file defines the information needed for deployments.
In the networks
key, you can define any key you want that matches a file in the deployments
directory.
bolt --help
Or come to the Vaulta devs chat: https://t.me/vaultadevelopers