Skip to content
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

DeFiCh/ain:2.11.x DeFi CustomTx (DfTx) #1769

Closed
fuxingloh opened this issue Sep 22, 2022 · 3 comments · May be fixed by #1848
Closed

DeFiCh/ain:2.11.x DeFi CustomTx (DfTx) #1769

fuxingloh opened this issue Sep 22, 2022 · 3 comments · May be fixed by #1848
Assignees
Labels
area/packages kind/feature New feature request triage/accepted Triage has been accepted

Comments

@fuxingloh
Copy link
Contributor

Similar to #108

Implementation of 2.11.x Custom DfTx introduced in https://github.com/DeFiCh/ain/pull/1451/files

    PaybackWithCollateral  = 'W',

in

packages/jellyfish-transaction/src/script/defi/*

All CustomTX has a starting signature of DfTx in utf8 or 0x44665478. It is as it is, don't need to convert from BE to LE.

They are structured as a

  1. VarUInt + [OP_RETURN + DfTx + TYPES[CxTxType] + ...]
  2. VarUInt + 6a + 44665478 + Type + ...

Refer to #108 for a detailed implementation guide

/area packages

@fuxingloh fuxingloh added the kind/feature New feature request label Sep 22, 2022
@jellyfishsdk-bot
Copy link
Contributor

@fuxingloh: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details

I am a bot created to help the JellyfishSDK developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@jellyfishsdk-bot jellyfishsdk-bot added needs/triage Waiting for triage to be accepted area/packages labels Sep 22, 2022
@fuxingloh
Copy link
Contributor Author

/triage accepted

@jellyfishsdk-bot jellyfishsdk-bot added triage/accepted Triage has been accepted and removed needs/triage Waiting for triage to be accepted labels Sep 22, 2022
@fuxingloh
Copy link
Contributor Author

/priority important-soon
/assign @infinia-yzl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packages kind/feature New feature request triage/accepted Triage has been accepted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants