This is a simple example of how to generate a compressed NFT receipt using Cavnas, CrossMint and ShadowDrive.
I have also included an example implementation to integration with Solana Pay.
Note: this is working, but still in progress...use at your own risk. I probably won't be actively maintaining this--just wanted to demonstrate the concept. Feel free to contribute!
- Clone this repo
- Run
yarnornpm install - Update constants:
- Rename
example.tstoconstants.ts - Update
constants.tswith your own values (see comments in file) - *Note You'll need a crossmint account and a shadow drive (Create a Shadow drive wallet w/ some storage (configure and run
createShdw.ts)).
- Rename
- Run
ts-node src/app
Example output: https://www.crossmint.com/tokens/sol:C4Uh1SaegzihN99VZqzBUrXmFrx5Ug97QhdG5rKs7WQ2
