Update docs/liquid/liquid-part2.md
This commit is contained in:
parent
26de313c6c
commit
67511e64e4
@ -68,25 +68,17 @@ Looking up this value on [https://blockstream.info/liquid/assets](https://blocks
|
||||
* Now we can see the total issued amount / supply[^2]
|
||||
|
||||
* Let's try sending this new asset to another wallet (my Blockstream Green mobile wallet) and see what is visible on the network.
|
||||
- `$sudo ./scripts/app compose elements exec node elements-cli -named -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS sendtoaddress address="VJL6Thq......" amount=1.0 fee_rate=1 assetlabel="03d63d6c...."
|
||||
- `$sudo ./scripts/app compose elements exec node elements-cli -named -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS sendtoaddress address="VJL6Thq......" amount=1.0 fee_rate=1 assetlabel="03d63d6c...."`
|
||||
|
||||
edf087368703bbb99054b4c5d7d1a85a9fbc4ad1ba9eac97c71463eb822dea3b`
|
||||
edf087368703bbb99054b4c5d7d1a85a9fbc4ad1ba9eac97c71463eb822dea3b
|
||||
|
||||
* Looking up this transaction on the [block explorer, we see](https://blockstream.info/liquid/tx/edf087368703bbb99054b4c5d7d1a85a9fbc4ad1ba9eac97c71463eb822dea3b):
|
||||
|
||||

|
||||
|
||||
|
||||
* Lets set that to a variable for use later
|
||||
```
|
||||
$ export ISSUE='{"txid": dd3983619f67e7a743ccfd32e48bbdb591c1d44b86a71d442be95a2453c0479a,
|
||||
"vin": 0,
|
||||
"entropy": cd3d7319525b28b6500d0a0b4688d91392ba8192be9bc264ec9637a001907322,
|
||||
"asset": 1e69f87952c26b8dfc80dda0427041a0279a0723ea12086b88b75752545e0d22,
|
||||
"token": 2dc5fb795fd42e08adb9dd29b5ff14f4326ecd8443e1cdc31dc6666d7576ff89
|
||||
}'
|
||||
```
|
||||
|
||||
* Now we can utilize individual entries (using `jq` utility):
|
||||
- `$ echo $ISSUE | jq .asset`
|
||||
|
||||
"1e69f87952c26b8dfc80dda0427041a0279a0723ea12086b88b75752545e0d22"
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user