-
Notifications
You must be signed in to change notification settings - Fork 7
Client helpers: CreateMint (javascript) #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9fa582b
to
8bda420
Compare
1788e87
to
0537f3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm impressed! I've made some comments/suggestions on the JS client. Let me know what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Just a few last comments/suggestions but it's good to merge after that. 👌
6aac777
to
c08745e
Compare
c08745e
to
ce23112
Compare
Creating a js client library for calling the
CreateMint
instruction (1 of 3 total). Attempts to use solana kit as the base library.Walkthrough for testing locally:
spl-token create-token # Example will have G85DDQCoHchhDFWtUFT2MDkfUPYQt8BvViFyjGv167xb for this spl-token create-account G85DDQCoHchhDFWtUFT2MDkfUPYQt8BvViFyjGv167xb spl-token mint G85DDQCoHchhDFWtUFT2MDkfUPYQt8BvViFyjGv167xb 100000
Update
token-wrap/clients/js/example.ts
with your keypair + unwrapped mint address generated aboveInstall deps
cd ./token-wrap/clients/js pnpm install