Crates.io | sbs |
lib.rs | sbs |
version | 1.0.0 |
source | src |
created_at | 2023-05-19 18:14:30.152674 |
updated_at | 2023-06-09 15:15:10.476002 |
description | The Super Blockchain Scaffolder, a command line utility for scaffolding blockchain-related projects! |
homepage | https://sbs-cli.org |
repository | https://github.com/Super-Blockchain-Scaffolder/sbs-cli |
max_upload_size | |
id | 869022 |
size | 104,624 |
The Super Blockchain Scaffolder command line utility!
Learn more at https://sbs-cli.org
The sbs-cli is a free and open-source command line tool meant to make it easy for anyone to explore, learn, and build with all of the many awesome blockchain tooling, libraries, and protocols available today and in the future!
The sbs-cli was created by Jim (@JimLynchCodes) and Pranav (@ps428) for the Spring 2023 Chainlink hackathon.
Visit sbs-cli.org to learn more about the project and the sbs orgnaization!
The sbs-cli can be installed with either npm or cargo.
Recommended for most users
npm i -g sbs-cli
Recommended for Rust users (and those contributing to sbs-cli project)
cargo install sbs-cli
Run in interactive mode (prompts user for necessary information)
sbs
Various flags can be passed to skip over the interactive prompts.
See all optional flags:
sbs --help
Example usage with flag arguments:
sbs -n "my-new_directory" -s "Chainlink Foundry Starter"
Note: Open-source contributors wanted!
git clone
cargo test
cargo run
Some examples of running locally with flag arguments:
cargo run -- -a
cargo run -- -c
cargo run -- -n foo
cargo run -- -n foo -s "Foundry Starter Kit"
Deploys are currently done through the SBS Team account using the rust-to-npm
package.
First, manually increment the version in Cargo.toml
file.
Make sure you are logged into npm and cargo in your cli before trying to deploy:
cargo login
npm adduser
Note that we want "sbs" to be the command users run but we want users to install it with "sbs-cli" so we deploy with the -n flag like so:
rust-to-npm-cli deploy -b -n sbs-cli