Update docs/liquid/liquid-part2.md
This commit is contained in:
parent
4be612fcfc
commit
f8a5d86e03
@ -28,7 +28,7 @@ Looking up this value on [https://blockstream.info/liquid/assets](https://blocks
|
||||
### Issuing our own Asset
|
||||
|
||||
* Issuing our own asset is straight-forward, as its a single line command in the client. Let's issue 10 new tokens and set the supply to be fixed (no re-issuance)
|
||||
- `$ 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 true`
|
||||
|
||||
{
|
||||
"txid": dd3983619f67e7a743ccfd32e48bbdb591c1d44b86a71d442be95a2453c0479a,
|
||||
@ -43,10 +43,25 @@ Looking up this value on [https://blockstream.info/liquid/assets](https://blocks
|
||||
|
||||
"balance": {"1e69f87952c26b8dfc80dda0427041a0279a0723ea12086b88b75752545e0d22": 10.00000000,"bitcoin": 0.00148701}
|
||||
|
||||
* We can see our wallet has 10 of our assets[^2], lets checkout what the [Liquid network knows about it](https://blockstream.info/liquid/asset/1e69f87952c26b8dfc80dda0427041a0279a0723ea12086b88b75752545e0d22):
|
||||
* We can see our wallet has 10 of our assets[^2], lets checkout what the [Liquid network knows about it](https://blockstream.info/liquid/asset/1e69f87952c26b8dfc80dda0427041a0279a0723ea12086b88b75752545e0d22):
|
||||
|
||||

|
||||

|
||||
|
||||
* So publiclly we know the following about our new asset:
|
||||
- It cannot be re-issued
|
||||
- It has only been issued once
|
||||
- However both the issued amount and the circulating supply has been hidden from us.
|
||||
|
||||
* Let's create another asset and this time choose a different option:
|
||||
- `$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS issueasset 10 0 false`
|
||||
|
||||
{"txid": "1dfdf2f3a393a7a7be9f1f58c8651565a29486851268027794e1b69f5227864f",
|
||||
"vin": 0,
|
||||
"entropy": "5a32df406eb3f8c4f9b59c669d411e3a5ed0fd75058c2483e5732ccc6b482722",
|
||||
"asset": "03d63d6c373979954a4dda2afdd941a0de96a0739da455af1cdb1a2e2a63a9a5",
|
||||
"token": "ac860f370aabb829b70283c05e13a327cccec8ad0eea5493980cca53dd6631f9"}
|
||||
|
||||
...and checking again what [the Liquid network knows about it](https://blockstream.info/liquid/asset/03d63d6c373979954a4dda2afdd941a0de96a0739da455af1cdb1a2e2a63a9a5)
|
||||
|
||||
|
||||
* Lets set that to a variable for use later
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user