-
Notifications
You must be signed in to change notification settings - Fork 174
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
fix: update path in Solana readme #1146
base: main
Are you sure you want to change the base?
Conversation
|
||
``` | ||
endpoint: <ENDPOINT_PROGRAM_ID> | ||
oft: <OFT_PROGRAM_ID> | ||
``` | ||
|
||
Copy the OFT's programId and go into [lib.rs](./programs/oft/src/lib.rs). Note the following snippet: | ||
Copy the OFT's programId and go into [lib.rs](./programs/oft/src/lib.rs) (located inside this project under oft-solana/programs/oft/src/lib.rs). Note the following snippet: |
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.
@lzdane I don't think there's a need for the note in parentheses, the link already links to the right file. Devs can click on it. It's normal assumption that a filename with a link in a README links to a file in the same repo.
@@ -210,7 +210,7 @@ pnpm hardhat lz:oft:solana:create --eid 40168 --program-id <PROGRAM_ID> | |||
|
|||
:warning: Use `--additional-minters` flag to add a CSV of additional minter addresses to the Mint Authority Multisig. If you do not want to, you must specify `--only-oft-store true`. | |||
|
|||
:information_source: You can also specify `--amount <AMOUNT>` to have the OFT minted to your deployer address upon token creation. | |||
:information_source: You can also specify `--amount <AMOUNT>` to have the OFT minted to your deployer address upon token creation. Remember this is in local decimals, so with local decimals of 9, you would need to pass in `--amount1000000000` to mint 1 OFT. |
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.
thanks for adding this!
btw there's a space missing
amount1000000000
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 agree with @nazreen 's comments. If you address his comments this looks good to me.
Also please fix linting: https://github.com/LayerZero-Labs/devtools/actions/runs/12632527710/job/35196385732
We can't merge PR with failing CI checks.
No description provided.