Tangle CLI Quickstart
Pre-requisites
- git (opens in a new tab)
- Tangle CLI, see installation
Creating a New Project
- For an in-depth guide to commands, see the CLI Reference. To get started right away with creating a Tangle Blueprint, open your terminal and run:
$ cargo tangle blueprint create --name <blueprint-name>
- Follow the prompts to set up your project. The following image shows the prompt flow with example input and defaults selected.
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.