Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 1.21 KB

File metadata and controls

72 lines (45 loc) · 1.21 KB

Bolt

A smart contract framework for Vaulta.

Installation

npm i -g @vaulta/bolt

Using 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 build

Test

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 --help

Or come to the Vaulta devs chat: https://t.me/vaultadevelopers