Quick Start
This path gets you from clone to first simulated swap quickly.
1) Install dependencies
Section titled “1) Install dependencies”# from your cloned repository rootpnpm install2) Configure environment variables
Section titled “2) Configure environment variables”cp examples/simple-swap/.env.example examples/simple-swap/.envSet these in examples/simple-swap/.env:
SOLANA_RPC_URLWALLET_PRIVATE_KEY
3) Run the first swap demo
Section titled “3) Run the first swap demo”pnpm --filter @stendar/example-simple-swap buildcd examples/simple-swapnode dist/index.jsThe example runs with dryRun: true, so it simulates and does not broadcast a transaction.
4) Next steps
Section titled “4) Next steps”- Install SDK packages in your own app: Installation
- Build your first runtime call: First swap
- Run a strategy lifecycle: First strategy