-
Notifications
You must be signed in to change notification settings - Fork 225
feat: Add gill to cookbook examples #792
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
base: main
Are you sure you want to change the base?
feat: Add gill to cookbook examples #792
Conversation
* add gill tokens first half examples to cookbook * formatting and bug fixing * typo fixing
* Add Gill tokens Second half examples to cookbook * Adjusted the logging to match the Kit implementation and replaced the findAssociatedTokenPda with getAssociatedTokenAccountAddress * Added missing export and fixed indentation * Fixed indentation * Fixed lamports import missing * alphabetize imports, use localnet to mirror kit, add missing examples * remove unused import --------- Co-authored-by: Logan Yu <[email protected]>
@loganyu is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
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.
all of it okay i could only think of this change tbh
}); | ||
|
||
const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); | ||
const transactionMessage = pipe( |
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.
this could be switched with gill's createTransaction function
urlOrMoniker: "mainnet", | ||
}); | ||
|
||
const mintAddresss = address("2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo"); |
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.
typo
urlOrMoniker: "mainnet", | ||
}); | ||
|
||
const mintAddress = address("2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo") |
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.
Need to run lint formatting
Problem
Cookbook examples do not include Gill examples.
Summary of Changes
Add "Gill" tab to cookbook examples.
Fixes #