Skip to content

Commit 162cdef

Browse files
feat: Add bitcoin-staking package (#1854)
1 parent 36fcdc0 commit 162cdef

538 files changed

Lines changed: 43812 additions & 165 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.changeset/cute-mugs-beg.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stacks/common": patch
3+
---
4+
5+
Fixes `hexToBigInt` to now accept a 0x prefix.

‎.changeset/famous-adults-melt.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stacks/bitcoin-staking": minor
3+
---
4+
5+
Add @stacks/bitcoin-staking, a package for PoX-5 staking. Covers the full bond lifecycle against the pox-5 boot contract: BTC P2WSH lockup script construction, SPV proof assembly, reclaim transactions for both the timelock and cosigned early-exit paths, SIP-018 signer grants, read-only wrappers for bond and staker state, cycle math helpers, and read-only eligibility preflight checks.

‎.changeset/shy-eggs-dream.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stacks/transactions": patch
3+
---
4+
5+
Fixes `Address.parse` return type to now include `version` / `versionChar`.

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,7 @@ docs
5656
unused
5757

5858
*.tgz
59+
60+
*.local
61+
62+
.claude

‎.oxlintrc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"no-var": "error",
99
"prefer-const": "error",
1010
"no-new-wrappers": "error",
11-
"no-unused-vars": ["error", { "caughtErrors": "none", "argsIgnorePattern": "^_" }]
11+
"no-unused-vars": ["error", { "caughtErrors": "none", "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }]
1212
},
1313
"ignorePatterns": ["**/*.js", "**/node_modules/**"]
1414
}

0 commit comments

Comments
 (0)