chaintope / rust-tapyrus

Other
1 stars 4 forks source link

Implement ScripBuf#remove_color #67

Closed Yamaguchi closed 4 months ago

Yamaguchi commented 4 months ago

This method is required when obtaining a p2pkh or p2sh from script pubkey of colored coin.

Yamaguchi commented 4 months ago

see: https://github.com/chaintope/tdk/blob/bf216267d9443f1dc4003c20e6639a3f703a1249/crates/chain/src/spk_txout_index.rs#L103

https://github.com/chaintope/tdk/blob/bf216267d9443f1dc4003c20e6639a3f703a1249/crates/wallet/src/wallet/mod.rs#L2365