Add tested methods for constructing a token rewards tx
Details
Details
- Reviewers
emack - Group Reviewers
Restricted Project - Commits
- rABC8afdf5fc8667: [token-server] Add method to get token inputs and outputs for a token reward tx
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- token-server-wallet-next
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28453 Build 56447: Build Diff Build 56446: arc lint + arc unit
Event Timeline
Comment Actions
publishing despite CI failure as CI issue appears unrelated.
can still be tested with
arc patch 15937 cd apps/token-server npm ci npm test
apps/token-server/src/transactions.ts | ||
---|---|---|
33 ↗ | (On Diff #47010) | well, it would work for any slpv1 token send tx using chronik inputs and this lib. similar to cashtab -- the function is only general to the scope of this app...but it is pretty general. Will make more sense when we have the other functions, then we call getSlpInputsAndOutputs to get the slp inputs and outputs we need to builda tx. |
64 ↗ | (On Diff #47010) | I have been working on this but it has been tabled during the antd run. now, it will prob become part of ecash-lib once we get that up and running (then we'll have an ecash-specific stack, schnorr support, the works) T3504 |