This is a yarn monorepo. It contains the following packages:
docs: Various docs prepared for classes, and other documentation assetsprereq\ts: TypeScript exercises for the prerequisitesprereq\rust: Rust exercises for the prerequisitesclasses: Various Turbin3 exercisesanchor-vault: Anchor vault demoanchor-escrow: Anchor escrow demoanchor-amm: Anchor AMM demoanchor-marketplace: Anchor marketplace demoanchor-nft-staking: Anchor NFT staking democapstone: Capstone project - monorepo for Riseon SocialFi app
For Rust packages in the monorepo these are the minimum requirements.
$ rustc --version
rustc 1.81.0 (eeb90cda1 2024-09-04)
$ avm --version
avm 0.30.1
$ node --version
v23.9.0
$ yarn --version
4.7.0Initialize the submodules
git submodule update --init --recursiveFetch all the latest changes
git submodule update --recursive --remoteRun the following in the monorepo root directory to install all dependencies.
yarn installGenerating pdfs from markdown
# Step 1: Convert Mermaid diagrams to PDFs
mmdc -i input.md --outputFormat=pdf --pdfFit -o preprocessed.md
# Step 2: Generate final PDF
pandoc preprocessed.md -f markdown-implicit_figures -o output.pdf
# Optional: Clean up
rm preprocessed.md preprocessed-*.pdf
Many thanks to Solana Turbin3, for being an awesome school for Rust developers.
This code is free to use under the terms of the MIT license. See LICENSE.
