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

Download history 400/week @ 2024-08-11 283/week @ 2024-08-18 207/week @ 2024-08-25 34/week @ 2024-09-01 262/week @ 2024-09-08 63/week @ 2024-09-15 14/week @ 2024-09-22 183/week @ 2024-09-29 43/week @ 2024-10-06 194/week @ 2024-10-13 148/week @ 2024-10-20 14/week @ 2024-10-27 9/week @ 2024-11-03 123/week @ 2024-11-10 421/week @ 2024-11-17

575 downloads per month

MIT license

85KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments TypeScript 223 SLoC // 0.0% comments Menhir 126 SLoC JavaScript 91 SLoC // 0.1% comments Solidity 38 SLoC // 0.1% comments

gblend

License: MIT

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

gblend

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