3 ms·
Show HN: Options Trading with NFTs on Solana
- ssss11 5y agoI’m pretty sure hard coding your_private_key is not a good idea. Why did you make this an npm package instead of just a github repo?
- the_black_hand 5y agothat's just an example. You can have the keypair in a file or anywhere as long as you can load your address with the solana api. the client side is all js. For users who don't want to spend sol to build and deploy the rust on-chain program, they can just npm install and use the trusted id of my already deployed on-chain program.