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.
Make sure you have the seismic-foundry
suite of dev tools installed. See the installation instructions here.
Make sure you have bun installed. Install the dependencies for the project by running:
bun install
from the root directory.
Go to the contracts
directory and follow the instructions in the contracts
README to set up the Walnut
contract.
Then, go to the cli
directory and follow the instructions in the cli
README to set up and run the CLI.