Your First Anoma App

A tutorial setting you up to build, run, and test your first Anoma application.

Prerequisites

Before creating your first Anoma dApp, make sure to have followed the Getting Started instructions.

Building HelloWorld

The goal of this tutorial is to

  1. Define a "Hello World!" Resource.

  2. Generate proofs

  3. Generate the transaction object

  4. Submit a Protocol Adapter transaction

Create a New Project

We start by cloning the anoma-beta-documentation repo and then want to go to the examples/ folder to find the hello-world-start example.

git clone https://github.com/anoma/anoma-beta-documentation.git
cd examples/hello-world-start

Once we have executed above code, let's run the hello-world-start scaffolding code before we start expanding on it.

cargo run

Great! We can now start with the actual hello-world code. Head over to Define a Resource.

Last updated