Skip to content

Commit

Permalink
Support slashing & simply data structure for phase 2 (#37)
Browse files Browse the repository at this point in the history
* feat: support slashing in phase-2 staking
  • Loading branch information
jrwbabylonlab authored Oct 30, 2024
1 parent 70ece17 commit 48a0237
Show file tree
Hide file tree
Showing 21 changed files with 961 additions and 724 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@babylonlabs-io/btc-staking-ts",
"version": "0.4.0-canary.1",
"version": "0.4.0-canary.2",
"description": "Library exposing methods for the creation and consumption of Bitcoin transactions pertaining to Babylon's Bitcoin Staking protocol.",
"module": "dist/index.js",
"main": "dist/index.cjs",
Expand Down
3 changes: 3 additions & 0 deletions src/constants/unbonding.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// minimum unbonding output value to avoid the unbonding output value being
// less than Bitcoin dust
export const MIN_UNBONDING_OUTPUT_VALUE = 1000;
Loading

0 comments on commit 48a0237

Please sign in to comment.