Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crypmancer/rune-burn-backend
Rune burn backend using nodejs and bitcoinjs-lib
https://github.com/crypmancer/rune-burn-backend
backend bitcoin bitcoinjs-lib burn nodejs runes typescript
Last synced: 6 days ago
JSON representation
Rune burn backend using nodejs and bitcoinjs-lib
- Host: GitHub
- URL: https://github.com/crypmancer/rune-burn-backend
- Owner: crypmancer
- Created: 2024-07-25T09:16:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T09:42:13.000Z (4 months ago)
- Last Synced: 2024-10-21T16:29:04.315Z (29 days ago)
- Topics: backend, bitcoin, bitcoinjs-lib, burn, nodejs, runes, typescript
- Language: TypeScript
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The Rune Burn Project.
1. Transfer claim amount of rune token from User wallet to Receiver wallet.
- Get rune utxos and btc utxos in user wallet.
- Build PSBT with user rune token and utxo balance as input and OP_RETURN value and claim amount of rune token, return rune token, change utxo as output using user wallet publickey, address, and receiver wallet address.
- Send and Sign PSBT with user wallet.
2. After confirmed transaction, Transfer and Burn rune token from Receiver wallet to Burning wallet.
- Get rune utxos and btc utxos in receiver wallet.
- Build PSBT with receiver rune token and utxo balance as input and OP_RETURN value and claim amount of rune token, return rune token, change utxo as output using reciver wallet WIF privatekey, address, and burning wallet address.
(At that time, set OP_RETURN as invalid)- Sign PSBT with receiver wallet.
P.S. All necessary values are in network.config.ts.