An open API service indexing awesome lists of open source software.

https://github.com/stacktical/stacktical-dsla-solana-program


https://github.com/stacktical/stacktical-dsla-solana-program

Last synced: 6 months ago
JSON representation

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`