-
Notifications
You must be signed in to change notification settings - Fork 54
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
[Split] partially colored #161
Conversation
This PR will activate on a specific height for the partial coloring feature, which allows the minimum coloring to be 1. This split does't involve fractional splitting. By using partial coloring, tokens can be split into a minimum of 1. This is sufficient for current needs. For partially colored UTXOs, merging will be attempted during transfer, using a FIFO for colored UTXOs. It only applies to Fungible Tokens (FTs) and doesn't apply to Non-Fungible Tokens (NFTs). |
…gned in blueprint
Migration guide1. API changeblockchain.scripthash.listunspentFROM:
TO
We must use the value in atomicals, It represents the actual value of this FT, and in some partially colored cases, the value of this FT may differ from the satoshi value of this UTXO. We have retained the 'value' field for transitional adjustments. We will remove the 'value' field in subsequent updates to avoid unnecessary confusion. blockchain.atomicals.listscripthashThe modifications are the same as those for blockchain.scripthash.listunspentThe return content remains the same, it is important to note that the confirmed value now also represents the actual partially colored value. blockchain.atomicals.get_ft_balances_scripthashThe return content remains the same, it is important to note that the confirmed value now also represents the actual partially colored value. For example:
2. The partial coloring feature requires reindexing.3. We have removed the validation check for 'cleanly_assigned' from
|
This is very well done and thought out, thank you! |
交易所和钱包的balance都沟通同步支持了吧? |
a5a673c
to
3356374
Compare
Here are some examples for partially colored: