English 中文(简体)
• 如何将BRC-20从一个围墙转移到另一个墙壁
原标题:How to transfer BRC-20 token from one wallet to another in React JS

I am researching on this topic since long, but didn t get the solution. Looking for someone to help me with the code.

这里是我迄今发现的:

  1. Its a two step process, first we can inscribe a transfer function using unisat wallet
  2. then we need to send the inscription to the other person. Now i am stuck at this step, on how to do it

分享可能有助于:

  1. https://github.com/bitcoinjs/bitcoinjs-lib
  2. https://github.com/unisat-wallet/wallet-sdk/blob/master/src/tx-helpers/send-inscription.ts
  3. https://domo-2.gitbook.io/brc-20-experiment/
  4. https://docs.unisat.io/dev/unisat-developer-service/unisat-inscribe/create-brc-20-transfer
问题回答

登记只是美国的一个特殊产品。 通常,在BRC20的登记是乌克萨斯州,价值为546克拉。

在登记之后,将登记送至其他挂图,就好像是一种正常的转让交易,对投入和产出的顺序和价值给予了一定的关注。

Here s an example

投入:

  • Inscription UTXO (546 sats) from the sender
  • A normal UTXO (to pay the transaction fee) from the sender

产出:

  • Output #1: 546 sats to the recipient (this s the inscription)
  • Output #2: change amount (after fee) to the sender

登记顺序需要在投入和产出清单中保持不变。





相关问题
unable to get data from blockchain using thirdweb

I am building a simple crowdfunding app using React and thirdweb , I was able to successfully create a Campaign mean data is pushed successfully , I have read docs everything works fine , but when i ...

How named accounts works in NEAR

It appears that named accounts in NEAR are being managed by the near and register smart contracts. However, this raises the question of whether NEAR natively supports named accounts. it s unclear if ...

ETH sendSignedTransaction

I Try to use @ethereumjs/tx to sign Transaction. I want to send ETH from one address to second address. .... const legacy = require( @ethereumjs/tx/dist/legacyTransaction ); const utils = require( ...

How to set a timer in solidity?

I am launching a game that should close after exactly 3 days/72 hours of initializing & deploying the contract. My current thoughts are: declare a variable, timestamp. in the constructor, set the ...

"code": -32000, "message": "execution reverted"

Hello I am trying to deploy a contract using remix.ethereum.org after linked the metamask account using mumbai network. I receive this error while making the transaction for the contract Gas ...

How to get all accounts from near protocol blockchain?

I am currently working on a program within the Near Protocol to generate user-specific Near token ownership statistics. However, I m not sure how to obtain a list of all user accounts. Is there an ...

热门标签