-
Notifications
You must be signed in to change notification settings - Fork 24
Feat/add spl native example #52
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| *.DS_Store | ||
| .idea | ||
| **/*.rs.bk | ||
| **/target/* | ||
| **/build | ||
| **/node_modules | ||
| **/test-ledger | ||
| **/.anchor | ||
| **/.bolt | ||
| **/.yarn | ||
| **/.next/ | ||
| **/.env | ||
| !/anchor-counter/target/deploy/anchor_counter-keypair.json | ||
| !/bolt-counter/target/deploy/counter-keypair.json | ||
| !/bolt-counter/target/deploy/increase-keypair.json | ||
|
|
||
| # But don't ignore the target/idl/ directory | ||
| !**/anchor-minter/target/idl/ | ||
| !programs/spl-tokens/target/idl/ | ||
| !**/anchor-minter/target/deploy/ | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,33 @@ | ||||||||||||||||||||||
| [toolchain] | ||||||||||||||||||||||
| anchor_version = "0.31.1" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [features] | ||||||||||||||||||||||
| resolution = true | ||||||||||||||||||||||
| skip-lint = false | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [programs.devnet] | ||||||||||||||||||||||
| spl-tokens = "FgvEeit1djLPPjozq9zW9R8Ahu5JpijcdWQxqL4P887" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [programs.localnet] | ||||||||||||||||||||||
| spl-tokens= "FgvEeit1djLPPjozq9zW9R8Ahu5JpijcdWQxqL4P887" | ||||||||||||||||||||||
|
Comment on lines
+8
to
+12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Fix formatting inconsistency and verify program ID usage. Line 12 is missing a space after the 🔎 Proposed fix for formatting-spl-tokens= "FgvEeit1djLPPjozq9zW9R8Ahu5JpijcdWQxqL4P887"
+spl-tokens = "FgvEeit1djLPPjozq9zW9R8Ahu5JpijcdWQxqL4P887"📝 Committable suggestion
Suggested change
🧰 Tools🪛 Gitleaks (8.30.0)[high] 9-9: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. (generic-api-key) [high] 12-12: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. (generic-api-key) 🤖 Prompt for AI Agents |
||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [registry] | ||||||||||||||||||||||
| url = "https://api.apr.dev" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [provider] | ||||||||||||||||||||||
| cluster = "localnet" | ||||||||||||||||||||||
| wallet = "~/.config/solana/id.json" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [[test.genesis]] | ||||||||||||||||||||||
| address = "SPLxh1LVZzEkX99H6rqYizhytLWPZVV296zyYDPagv2" | ||||||||||||||||||||||
| program = "tests/fixtures/ephemeral_token_program.so" | ||||||||||||||||||||||
| upgradeable = false | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [[test.genesis]] | ||||||||||||||||||||||
| address = "DELeGGvXpWV2fqJUhqcF5ZSYMS4JTLjteaAMARRSaeSh" | ||||||||||||||||||||||
| program = "tests/fixtures/dlp.so" | ||||||||||||||||||||||
| upgradeable = false | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| [scripts] | ||||||||||||||||||||||
| test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts" | ||||||||||||||||||||||
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.
🧹 Nitpick | 🔵 Trivial
Inconsistent path pattern in un-ignore rule.
Line 19 uses a path pattern without the
**/prefix (programs/spl-tokens/target/idl/), while lines 18 and 20 use**/prefixes. This inconsistency may cause the un-ignore rule to not work as intended if the directory structure differs from expectations.🔎 Proposed fix for consistency
🤖 Prompt for AI Agents