Tangle CLI Quickstart
Pre-requisites
- git (opens in a new tab)
- Tangle CLI, see installation
Creating a New Project
- Open your terminal and run:
$ cargo tangle blueprint create --name <blueprint-name>
- 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.