15 releases
new 0.2.8 | Nov 20, 2024 |
---|---|
0.2.7 | Nov 19, 2024 |
0.1.0 | Nov 12, 2024 |
0.0.11 | Oct 23, 2024 |
0.0.4 | Jun 28, 2024 |
#414 in Magic Beans
575 downloads per month
85KB
2K
SLoC
gblend
CLI tool for bootstrapping, building, and deploying Fluent Network projects.
Installation
cargo install gblend
Usage
# Initialize a new Rust project
gblend init rust --help
# Build your project
gblend build rust --help
# Deploy to network
gblend deploy --help
📌 Note: We also support legacy version of the CLI. That allows you to bootstrap a project with a single command:
gblend init
You can find more information about legacy mode in the legacy section.
Commands
gblend <COMMAND>
Commands:
init Initialize a new project
Subcommands:
- rust Initialize Rust smart contract project
build Build the project
Subcommands:
- rust Build Rust smart contract project
deploy Deploy the compiled WASM file to a specified network
Options:
-h, --help Print help
-V, --version Print version
Project Structure
your-project/
├── src/
│ └── lib.rs
├── Cargo.toml
└── .gitignore
Legacy
Choose Your Setup
You can start your project with any of the following setups:
- Hardhat JavaScript (Solidity & Vyper): Ideal for developers comfortable with JavaScript.
- Hardhat TypeScript (Solidity & Vyper): Perfect for those who prefer TypeScript for type-safety.
- Rust: Best for developers looking to leverage the power of Rust in WASM.
- Blended app: Blended app ( Wasm & Solidity template)
- Exit: Leave the setup.
Contributing
GBLEND is an open-source project, and community contributions are vital to its growth and improvement. Whether it's fixing bugs, adding features, or improving documentation, all contributions are welcome. If you're interested in helping out, please take a look at our issues tracker and read our Contributing Guide before submitting a pull request.
Dependencies
~32–48MB
~877K SLoC