diba-io / bitmask-core

Core functionality for the BitMask wallet
https://bitmask.app
Other
93 stars 21 forks source link

Reduce dust transactions and hide invalid states #411

Closed crisdut closed 8 months ago

crisdut commented 8 months ago

Closes #375

Update 11/9

I found three new bugs in bitmask-core (all fixed):

  1. In WASM target, the export contract cannot hide invalid states
  2. When we save the tapret commit, we cannot save the utxo amount
  3. The PSBT signal and transmission were not exposed in the typescript

Also, I made a new test to check if we can make a transfer with invalid states in the stock [1]

[1] RGB invalid states occurs when we generate a new consignment and the transaction was not broadcasted (i.e. invalid transaction, batch/rbf operations, etc...)