Update docs/liquid/liquid-part2.md

This commit is contained in:
b0xxer 2024-01-26 07:57:26 -06:00
parent d078c6e664
commit 9c3229f5c9

View File

@ -52,6 +52,8 @@ Looking up this value on [https://blockstream.info/liquid/assets](https://blocks
- It has only been issued once - It has only been issued once
- However both the issued amount and the circulating supply has been hidden from us. - However both the issued amount and the circulating supply has been hidden from us.
### Issuing a Non-Confidential Asset
* Let's create another asset and this time choose a different option (specifically, lets create this asset unblinded): * Let's create another asset and this time choose a different option (specifically, lets create this asset unblinded):
- `$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS issueasset 10 0 false` - `$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS issueasset 10 0 false`
@ -84,6 +86,11 @@ This is interesting: So although the transaction is visible, we can't see what w
So now this shows us that the *Confidential Address: VJL6Thq....* corresponds to the *Unconfidential Address: GprWqLK....* Through the magic of one-way hashes, if we know the "Confidential" address we can then dervive its public address....however just by looking at the public blockchain, there is no way to reverse that hash. So now this shows us that the *Confidential Address: VJL6Thq....* corresponds to the *Unconfidential Address: GprWqLK....* Through the magic of one-way hashes, if we know the "Confidential" address we can then dervive its public address....however just by looking at the public blockchain, there is no way to reverse that hash.
Now, lets look at how things look on the Green mobile wallet:
![](6-part2-noassetlabel.png)
We can see that we've received 100,000,000 'sats' of our custom asset. However, notice how there is no labels. The elements for L-BTC, USDT, etc show with ticker symbols...whereas ours is showing just the contract address....not very user friendly. Let's see if we can remedy.