inglkruiz / rust-solana-labs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RustSolanaLabs

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Apps

Libs

  • programs/hello-world: Solana smart contract program. Borrowed from the solana-labs/example-helloworld repository. I preferred not to use the repository since I'm building a curated list of examples for myself powered by Nx monorepo.
  • anchor: Anchor framework folder setup containing programs, tests, and types.

Install dependencies

  • Go-task Used for running tasks in some projects.
  • Rust Used for building Rust projects.
  • NodeJs with NVM Install NodeJs with NVM. Then run nvm use to use the NodeJs version specified in .nvmrc file.
  • PNPM Since the repository uses NodeJs 18 use corepack to install PNPM. Follow the instructions in the link.
  • Solana CLI Used for blockchain development.
  • Run pnpm install to install the dependencies.

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.

About


Languages

Language:TypeScript 79.3%Language:Rust 17.0%Language:JavaScript 3.0%Language:CSS 0.5%Language:HTML 0.2%