Update docs/liquid/liquid-part2.md

This commit is contained in:
b0xxer 2024-01-27 09:33:26 -06:00
parent 7dcb479ad1
commit 6e7e597fd5

View File

@ -12,13 +12,15 @@ In Part I, we successfully Pegged-In our BTC and received L-BTC, now lets use th
Before we jump straight into creating an asset, let us first look at the assets we already have inside our pegged-in wallet[^1]:
* `$ 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
"balance": {"bitcoin": 0.00149155}`
* `$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS dumpassetlabels`
$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS dumpassetlabels`
{"bitcoin": "6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d"}
```
So our wallet already has an asset called 'bitcoin' and there is an associated UUID of `6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d`. Everything in Liquid is an 'Asset' (including L-BTC) and each of these Assets can have different features.