Update docs/liquid/liquid-part2.md
This commit is contained in:
parent
d3057316d2
commit
b35e720326
@ -123,7 +123,7 @@ export CONTRACT_HASH_REV=947a135a03e5e4f2fcfd295de987a388d06311bdc6c491950ed08f2
|
|||||||
"token": "f13a9858f5acec84f8195d95c764c839812deeee297ca654ba1f25d650e1b8ea"
|
"token": "f13a9858f5acec84f8195d95c764c839812deeee297ca654ba1f25d650e1b8ea"
|
||||||
}
|
}
|
||||||
|
|
||||||
## Exploring our Confidential Asset
|
### Exploring our new Asset
|
||||||
|
|
||||||
* Checking out our wallet we see:
|
* Checking out our wallet we see:
|
||||||
- `$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS getwalletinfo`
|
- `$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS getwalletinfo`
|
||||||
@ -140,18 +140,21 @@ export CONTRACT_HASH_REV=947a135a03e5e4f2fcfd295de987a388d06311bdc6c491950ed08f2
|
|||||||
- 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.
|
||||||
|
|
||||||
|
This Confidential Asset has ultimate privacy, but sometimes its useful to have assets where people can verify the total amount in circulation.
|
||||||
|
|
||||||
### Issuing a Non-Confidential Asset
|
### 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 $CONTRACT_HASH_REV`
|
||||||
|
|
||||||
{"txid": "1dfdf2f3a393a7a7be9f1f58c8651565a29486851268027794e1b69f5227864f",
|
{
|
||||||
|
"txid": "f27c99793f685fa4109ecec68d79819b077946427a489c5301ccbde136d4e070",
|
||||||
"vin": 0,
|
"vin": 0,
|
||||||
"entropy": "5a32df406eb3f8c4f9b59c669d411e3a5ed0fd75058c2483e5732ccc6b482722",
|
"entropy": "7df9c90b4fea440c43f5a92f24089999d50ee7af828afb7a3dd577015689ee2b",
|
||||||
"asset": "03d63d6c373979954a4dda2afdd941a0de96a0739da455af1cdb1a2e2a63a9a5",
|
"asset": "409b1d0cb614822ea703576b71958ab051d66ff6708b368f378f2ffea458d15a",
|
||||||
"token": "ac860f370aabb829b70283c05e13a327cccec8ad0eea5493980cca53dd6631f9"}
|
"token": "81ab87384b9317c21085b580b129a6cd13a42ced5e7f5ae6ce2638c62c6986ca"}
|
||||||
|
|
||||||
...and checking again what [the Liquid network knows about it](https://blockstream.info/liquid/asset/03d63d6c373979954a4dda2afdd941a0de96a0739da455af1cdb1a2e2a63a9a5)
|
...and checking again what [the Liquid network knows about it](https://blockstream.info/liquid/asset/409b1d0cb614822ea703576b71958ab051d66ff6708b368f378f2ffea458d15a)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user