Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.17 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.17 KB

Walnut Starter Project

walnut banner

Overview

A good example to get you started with using stype. The app is centered around a walnut with a secret number inside.

Every time you shake the walnut, this number increments. Every time you hit the walnut, the shell gets closer to cracking. You can only look at the number once the shell is cracked.

Local Development

Prerequisites

Make sure you have the seismic-foundry suite of dev tools installed. See the installation instructions here.

Installing dependencies

Make sure you have bun installed. Install the dependencies for the project by running:

bun install

from the root directory.

Setting up the contracts

Go to the contracts directory and follow the instructions in the contracts README to set up the Walnut contract.

Setting up and running the CLI

Then, go to the cli directory and follow the instructions in the cli README to set up and run the CLI.