Skip to content
Draft
Show file tree
Hide file tree
Changes from 64 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
7128fd9
wip
fusede Jul 8, 2025
a9947ff
Add RustRover directories to .gitignore
siydefuse Jul 21, 2025
f11dfeb
Introduce minimal Bitcoin types for BIP-322 handling.
siydefuse Jul 22, 2025
89c46c4
Enhance Bitcoin address handling and signature verification for BIP-322.
siydefuse Jul 22, 2025
95bf448
Implement NEAR-native BIP-322 with minimal Bitcoin dependencies and e…
siydefuse Jul 23, 2025
5ef640c
Use SDK cryptography API'a
siydefuse Jul 23, 2025
14e2149
Support for P2SH and P2WSH
siydefuse Jul 23, 2025
be516ca
Error reporting
siydefuse Jul 23, 2025
5285f80
Refactor signature verification logic for BIP-322, streamline impleme…
siydefuse Jul 23, 2025
3a97630
Complete BIP-322 implementation: add full support for all Bitcoin add…
siydefuse Jul 23, 2025
a0b6ed1
wip
fusede Jul 8, 2025
a503fe7
Cleanups after merging upcoming changes.
siydefuse Jul 25, 2025
1c5e5d1
Improve testing coverage. Cleanups
siydefuse Jul 25, 2025
b8d9d70
Move code to dedicated files. Cleanup comments.
siydefuse Jul 25, 2025
b9a2bcd
Minor cleanups
siydefuse Jul 25, 2025
ab88a0b
Clippy fixes
siydefuse Jul 28, 2025
154a9e3
Automated code review fixes #1
siydefuse Jul 28, 2025
1821207
Automated code review fixes #2
siydefuse Jul 28, 2025
9270f4f
Fix formatting
siydefuse Jul 28, 2025
4b9ceb5
Remove DER support
siydefuse Jul 30, 2025
26c3685
Use verify()
siydefuse Jul 30, 2025
2a0a640
Replace `double_sha256` with `NearDoubleSha256` implementation and in…
siydefuse Jul 30, 2025
a2026df
Remove `inner` field from `Address` structure
siydefuse Jul 30, 2025
2e273f1
Remove `inner` field from `Address` structure
siydefuse Jul 30, 2025
aa11f1f
Add error handling for address and script_pubkey creation in BIP-322 …
siydefuse Jul 30, 2025
05ccfe4
Add support for P2PKH-style redeem script validation in BIP-322 and r…
siydefuse Jul 30, 2025
01ff3aa
Implement address-specific sighash algorithms in BIP-322 processing a…
siydefuse Jul 30, 2025
8088361
Assume input signature always contains v bit
siydefuse Jul 30, 2025
693f4a0
Intermediate commit
siydefuse Aug 4, 2025
6121294
Intermediate commit
siydefuse Aug 4, 2025
58ef0f0
Addressing review comments
siydefuse Aug 5, 2025
9d1ef06
Refactor BIP-322 to eliminate unnecessary Result types and simplify e…
siydefuse Aug 6, 2025
a326f50
Move AddressError to dedicated error.rs module
siydefuse Aug 6, 2025
b1c1be4
Eliminate SighashCache and move methods to Transaction
siydefuse Aug 6, 2025
9d5aad0
Intermediate commit - method name improvements
siydefuse Aug 6, 2025
1772c74
Replace Witness struct with type-safe Bip322Witness enum
siydefuse Aug 6, 2025
94ca530
Complete witness refactoring with type-safe address-witness pairing
siydefuse Aug 6, 2025
9b3d0cc
Refactor BIP322 verification: eliminate duplication and improve type …
siydefuse Aug 7, 2025
0177596
Remove all existing tests in preparation for comprehensive rewrite
siydefuse Aug 7, 2025
271164e
Complete major BIP322 code refactoring: extract transaction and hashi…
siydefuse Aug 7, 2025
bc3d9e9
Add comprehensive test suite with 20 focused tests
siydefuse Aug 7, 2025
4873c4c
Merge verification modules into single file with early exit patterns
siydefuse Aug 7, 2025
58e41fd
Remove Witness type alias and use TransactionWitness directly
siydefuse Aug 7, 2025
c3e846d
Remove delegate methods and duplicate code
siydefuse Aug 7, 2025
fea1079
Add comprehensive BIP-322 integration test suite
siydefuse Aug 7, 2025
daf2ad5
Remove redundant files.
siydefuse Aug 7, 2025
58e96d3
Intermediate commit before final cleanup
siydefuse Aug 7, 2025
ad787f6
Cleanup part #1
siydefuse Aug 7, 2025
8f193d6
Cleanup part #2
siydefuse Aug 7, 2025
5dc0f70
Cleanup part #3
siydefuse Aug 7, 2025
3e54e7d
Intermediate commit
siydefuse Aug 8, 2025
82b8878
Intermediate commit
siydefuse Aug 12, 2025
13f7e99
Use BIP340 tagged hash
siydefuse Aug 12, 2025
b3864a0
Reuse SHA-256 from defuse_near_utils.
siydefuse Aug 12, 2025
f1cce91
Implement HASH160 as Digest
siydefuse Aug 12, 2025
0c0567a
Use HASH160 from defuse_near_utils.
siydefuse Aug 12, 2025
738e768
Merge Double and TaggedDigest into defuse_near_utils.
siydefuse Aug 12, 2025
4603e5a
Rework to support both, compact and full BIP-322 signatures
siydefuse Aug 13, 2025
8dcdf13
Fixing implementation to make test vectors pass
siydefuse Aug 14, 2025
05384aa
All valid tests are passing. No wallet-generated vectors (WIP)
siydefuse Aug 16, 2025
d52e7e5
Fix formatting errors.
siydefuse Aug 18, 2025
8f5c468
Address CI errors. Update README.md
siydefuse Aug 18, 2025
b11242f
Fixes and cleanups after merging upcoming changes.
siydefuse Aug 18, 2025
777bae9
Add test vectors generated by wallets
siydefuse Aug 19, 2025
6cde859
Add test vectors generated by wallets
siydefuse Aug 19, 2025
cfa1eb8
Address CI issues
siydefuse Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/target
/res
/.idea
.claude/
CLAUDE.md
Loading
Loading