Skip to content

VaultaFoundation/Bolt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JavaScript smart contract development framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published