The Solana Tapestry Project Repo
- Install Rust from https://rustup.rs/
- Install Solana v1.8.12 using
sh -c "$(curl -sSfL https://release.solana.com/v1.8.12/install)"
for linux or see https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool for other platforms - Install Node
- Install NPM, Yarn
- Install Poetry
- add TAPESTRY_ROOT to your environment and path (NOTE: this is should be set to the root of the repo, not the tapestry directory within the repo)
# in ~/.bashrc
export TAPESTRY_ROOT="/home/bizzle/solproj/soltapestry"
export PATH="$TAPESTRY_ROOT:$PATH"
- run
poetry shell
- run
yarn setup
from tapestry root
build rust programs
yarn rust:build
yarn rust:build
Reset validator / reload new programs
yarn localnet:fresh --place
Start the test validator (does not reset state)
yarn localnet:up
Start the "Place" App
yarn place:client:build
yarn place:app:start
Test rust program code (no need to start the test validator)
yarn rust:test
The new place idea
React app code
Typescript client, wraps blockchain interactions / serialization and deserialization
Typescript CLI that uses the client
to interact with the onchain program type pla --help
for details
Rust program for the "Place" idea
Color palletes, ".hex" files which are apparently just a text file with the RGB color info and /n delimiters
Some helper function for typescript CLI scripts
python scripts for some automation
The original tapestry idea