https://github.com/stacktical/stacktical-dsla-solana-program
https://github.com/stacktical/stacktical-dsla-solana-program
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stacktical/stacktical-dsla-solana-program
- Owner: Stacktical
- Created: 2022-02-15T15:24:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T09:23:15.000Z (over 3 years ago)
- Last Synced: 2023-03-12T07:03:53.005Z (about 3 years ago)
- Language: TypeScript
- Size: 814 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DSLA on Solana
## Prerequisites
* [npm](https://npmjs.com) version 7.21.1
* [Node.js](https://nodejs.org) version 18.12.0 LTS
* [Yarn](https://yarnpkg.com/getting-started/install) version 1.22.19
* [Rust](https://www.rust-lang.org/tools/install) version 1.65.0 (install using rustup)
* [Solana CLI tools](https://docs.solana.com/cli/install-solana-cli-tools) version 1.14.7
* [avm](https://www.anchor-lang.com/docs/installation) version 0.25.0
* [Anchor](https://www.anchor-lang.com/docs/installation) version 0.25.0
Ensure you have a Solana wallet/account created for your local Solana install. Confirm by running:
`solana address` in your terminal. If no wallet has been created an error will be thrown along with the command to copy, paste and run to create a new wallet.
## Build
To install and build, run the following commands:
`yarn install`
`anchor build`
## Test
To run the built-in tests and confirm install, run the following commands:
`yarn install`
`anchor test`
## Docs
`yarn install`
`anchor build`
`cargo doc --open`