Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/me-imfhd/solana-contracts

This comprises of some popular solana/anchor programs from basic to advance. On latest versions of anchor and solana.
https://github.com/me-imfhd/solana-contracts

anchor-lang nft-collection rust solana spl-token spl-token-2022

Last synced: 3 months ago
JSON representation

This comprises of some popular solana/anchor programs from basic to advance. On latest versions of anchor and solana.

Awesome Lists containing this project

README

        

This comprises of some popular solana programs from basic to advance

Required Versions:
```
anchor-cli 0.30.1
solana-cli 1.18.17
```

Set solana config to localhost with
- ``` solana config set --url localhost ```

## Building
1) `anchor build`: Builds all programs
2) Update the program IDs for each program with the corresponding generated program ID.

## Running Tests
Test by program name
- ```anchor test --detach --program-name ```

## Logging
Look at program logs in `.anchor/program-logs`
Or use `solana logs`
Also set skipPreflight to true to see logs in case of failures in sending transaction.

If facing any issue, try deleting target dir and revert any changes to cargo.lock and retry, else feel free to create an issue to discuss.