-
Notifications
You must be signed in to change notification settings - Fork 37
feat: NEP-641 reference impl #335
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
Merged
Merged
Changes from 73 commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
ce12308
wip: init
mitinarseny 4a861a2
wip: resolver_id?
mitinarseny 9b8f222
wip
mitinarseny 8d9377a
Merge branch 'main' into feat/nep641
mitinarseny 075e4d3
chore: single `sign_for`
mitinarseny ca60336
feat: impl NEP-641 for wallets
mitinarseny 5528615
feat(wallet/sdk): NEP-641 support
mitinarseny b88e9f3
chore: force offchain msg support for schema and signers
mitinarseny 5f30fbf
fix(wallet/sdk): wrap offchain messages until the last-1 extension
mitinarseny d25b9a4
wip
mitinarseny 46e14bd
feat: generic auth
mitinarseny 0d91db6
chore
mitinarseny ed63fed
feat!: propagate full path
mitinarseny 51e5b5b
wip: standardized OffchainMessage
mitinarseny 7fb2acf
feat(wallet/sdk): sign offchain messages
mitinarseny a7de64b
chore(wallet/sdk): test offchain resolve
mitinarseny f535d02
chore: tests
mitinarseny d86303c
chore(wallet/sdk): extension fixture
mitinarseny 22c18ce
chore
mitinarseny 3d8fd00
chore(wallet/sdk): better offchain API
mitinarseny 671c4e8
chore
mitinarseny 6d4b4f1
wip: docs
mitinarseny dc37a88
chore: docs
mitinarseny 1818c21
feat(nep641/verifier): max depth
mitinarseny a41e878
fix: tests
mitinarseny f4429b7
chore: docs
mitinarseny fb5bad3
chore: tracing follows_from
mitinarseny 3c67f6f
chore
mitinarseny 895fb1b
chore
mitinarseny d81b8b0
chore: rename to payload
mitinarseny 0b6c9d8
chore: docs
mitinarseny e6ca4bb
chore
mitinarseny 3b13426
chore
mitinarseny 1317e15
chore
mitinarseny 68842b2
chore
mitinarseny 3b726e5
chore
mitinarseny abe4e8c
chore
mitinarseny 5c4f78a
chore
mitinarseny 39cea33
chore: features
mitinarseny f6ef6f1
fix!: reoder fields
mitinarseny 4078362
chore: doc examples
mitinarseny fbd092d
chore
mitinarseny 21196fc
chore
mitinarseny 9c77cbd
chore
mitinarseny 32124b9
chore
mitinarseny f715745
chore
mitinarseny 5c3acb4
wip: access keys
mitinarseny 168ce96
wip
mitinarseny f548d5a
chore
mitinarseny 4a84a3f
chore
mitinarseny 1380cfc
chore
mitinarseny 01ce1a5
chore: verify block timestamp
mitinarseny 4c5dee9
chore
mitinarseny f820129
chore
mitinarseny 7434a22
chore
mitinarseny 95b29a0
chore
mitinarseny c9cdf21
chore
mitinarseny 3968acd
chore
mitinarseny 1b57cee
chore
mitinarseny 0664d4e
chore
mitinarseny c60def3
chore: errors
mitinarseny 976f2b4
chore
mitinarseny 2624dd9
chore
mitinarseny e1e4802
chore
mitinarseny 3faaf40
chore
mitinarseny 7405058
chore
mitinarseny a9d0e55
chore
mitinarseny 45f6dac
chore
mitinarseny be82feb
chore
mitinarseny d7b03b0
chore
mitinarseny 2e66f79
fix: ignore wasmtime advisory
mitinarseny 30caa76
chore: fix tests
mitinarseny dbfc5c6
chore(nep641): nep413 feature
mitinarseny 3699511
chore
mitinarseny b734750
chore
mitinarseny ba04a3d
chore: no borsh
mitinarseny a5f8bb8
chore
mitinarseny ec199f9
fix tests
mitinarseny a49d897
chore
mitinarseny d97c184
chore: simplify
mitinarseny 7c1781f
fix!(nep641): rename `public_key` field to `access_key` to reduce col…
mitinarseny b57c190
chore(nep641): panic on invalid resolver confituration
mitinarseny 2477652
chore: reduce collisions for access key auths even more by `deny_unkn…
mitinarseny 470db81
chore: test with more ext depth
mitinarseny 04e1e9b
chore!: reverse the path for `w_resolve_auth()`
mitinarseny 68077a8
Merge branch 'main' into feat/nep641
mitinarseny 357339d
chore
mitinarseny 6c067d3
chore
mitinarseny 269cc7a
chore
mitinarseny e6e967a
chore: add tests for access keys
mitinarseny e26f886
chore: better tracing
mitinarseny 2f510ac
chore
mitinarseny c7376e7
chore
mitinarseny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: near/intents
Length of output: 50368
🏁 Script executed:
Repository: near/intents
Length of output: 16434
🌐 Web query:
RUSTSEC-2026-0222 wasmtime vulnerability fixed version💡 Result:
The vulnerability RUSTSEC-2026-0222, which involves type index confusion between Wasmtime engines, was patched in the following versions [1][2]: - 24.0.12 - 36.0.13 - 46.0.2 - 47.0.3 Users are advised to update to these versions or higher to remediate the vulnerability [3].
Citations:
🏁 Script executed:
Repository: near/intents
Length of output: 474
🏁 Script executed:
Repository: near/intents
Length of output: 33036
Security Misconfiguration (CWE-693)
Reachability: Internal
Scope this global advisory suppression to the test-only graph.
The shared
.cargo/audit.tomlsuppressesRUSTSEC-2026-0222for every cargo-audit invocation. The affectedwasmtime 45.0.3package is only reachable through manifests that enablenear-sdk/unit-testingindev-dependencies/target.'cfg(near)'.dev-dependencies, so document or move this ignore to the test-only audit command to avoid suppressing future non-test release dependency paths.🤖 Prompt for AI Agents