@vaulta/bolt
v2.0.1
Published
A smart contract framework for Vaulta.
Readme
Bolt
A smart contract framework for Vaulta.
Installation
npm i -g @vaulta/boltUsing npx
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 ...Create a new project
bolt create <project_name> [optional_directory] Scaffold a contract, test file, or deployment
bolt scaffold <type(contract|test|deployment)> <name|network> [optional_directory]Build
bolt buildTest
bolt test [--build]Deploy
bolt deploy <network> [--build]Want to use a starter kit?
Head over to the Vaulta Template Projects Repo and see how you can use bolt to generate starterkit templates.
Configs
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.
Need help?
bolt --helpOr come to the Vaulta devs chat: https://t.me/vaultadevelopers
