Developers
Tangle Blueprint CLI
Quickstart

Tangle CLI Quickstart

Pre-requisites

Creating a New Project

  1. Open your terminal and run:
$ cargo tangle blueprint create --name <blueprint-name>
  1. Follow the prompts to set up your project.

Project Structure

After creation, your project will have the following structure:

<blueprint-name>/
├── src/
│    ├── lib.rs
│    └── main.rs
├── Cargo.toml
├── README.md
└── ...

Deploying your Blueprint

Once you're ready to deploy your blueprint, simply:

export SIGNER="//Alice"
export EVM_SIGNER="0xcb6df9de1efca7a3998a8ead4e02159d5fa99c3e0d4fd6432667390bb4726854"
cargo tangle blueprint deploy

See deploy command reference for all options.