diff --git a/docs/liquid/liquid-part2.md b/docs/liquid/liquid-part2.md index 7ac0013..cf69621 100644 --- a/docs/liquid/liquid-part2.md +++ b/docs/liquid/liquid-part2.md @@ -142,15 +142,30 @@ It is possible to 'unblind' this information to clients, but that would involve ``` $ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS getnewaddress "" legacy) lq1qq0tnptphkrl5pyjszzpawtkgvayd2q0cnr3dcrpuyfclm729xnt63p36033xaqq270kfkr6tceqms2xr043j556dhu29s25qh + $ export NEWADD='lq1qq0tn...' $ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS getaddressinfo $NEWADD | jq '.pubkey' 027bc5811ace27c847351801a92b9f4bd8683001367f6f359f3846ae9b7a5a637c -# ./gen_asset_contract.sh 027bc5811ace27c847351801a92b9f4bd8683001367f6f359f3846ae9b7a5a637c + +$ ./gen_asset_contract.sh 027bc5811ace27c847351801a92b9f4bd8683001367f6f359f3846ae9b7a5a637c CONTRACT={"entity":{"domain":"coins.b0xxy.net"},"issuer_pubkey":"027bc5811ace27c847351801a92b9f4bd8683001367f6f359f3846ae9b7a5a637c","name":"StackerNewsDemo-1","precision":8,"ticker":"SND-1","version":0} CONTRACT_HASH=7278642440b14e436fdea271e1170371839db2697c8f0345c6e0f05cf0ccbd72 + +$ export CONTRACT={"entity":{"domain":"coins.b0xxy.net"},"issuer_pubkey":"027bc5811ace27c847351801a92b9f4bd8683001367f6f359f3846ae9b7a5a637c","name":"StackerNewsDemo-1","precision":8,"ticker":"SND-1","version":0} +$ export CONTRACT_HASH=7278642440b14e436fdea271e1170371839db2697c8f0345c6e0f05cf0ccbd72 + +$ sudo ./scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS issueasset 10 0 true $CONTRACT_HASH + +{ + "txid": "7a5077ebc94b2f178e7d047ea12f1c8015d9dfa5304943db6aa85f245be3a5b9", + "vin": 0, + "entropy": "cb98274f7493119cd39c7f1a6606ea01d0121bf3674c108d3929a4e217eaea32", + "asset": "6a5896f83d78108bd15ae94cea86cdbda5dcb9f3c658c3f2e17d65afd318ca2e", + "token": "a6b6f9509d304f80d02cd57c81222ae18646d335161f0177beb13dccd9963e42" +} ``` -...and checking again what [the Liquid network knows about it](https://blockstream.info/liquid/asset/027bc5811ace27c847351801a92b9f4bd8683001367f6f359f3846ae9b7a5a637c) +...and checking again what [the Liquid network knows about it](https://blockstream.info/liquid/asset/6a5896f83d78108bd15ae94cea86cdbda5dcb9f3c658c3f2e17d65afd318ca2e) ![](2-part2-secondasset.png)