From 50fe5cef590ad72f03ed0005ed881d8a48982d13 Mon Sep 17 00:00:00 2001 From: b0xxer Date: Sun, 28 Jan 2024 11:04:29 -0600 Subject: [PATCH] Update docs/liquid/liquid-part2.md --- docs/liquid/liquid-part2.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/liquid/liquid-part2.md b/docs/liquid/liquid-part2.md index 440f1aa..a77b1fb 100644 --- a/docs/liquid/liquid-part2.md +++ b/docs/liquid/liquid-part2.md @@ -125,11 +125,13 @@ The publication of asset metadata info on Liquid works on a `.well-known` system 5. Generate a `liquid-asset-proof` text file and place in `.well-known` location on domain that matches contract 6. Register (or unregister) the asset via Blockstream web API -Thats a lot of steps, and many are prone to error. Luckily for us there exist a bash script to basically do all of it. [Download script from Blockstream](https://docs.liquid.net/docs/blockstream-liquid-asset-registry#issuing-with-a-contract-hash) +Thats a lot of steps, and many are prone to error. Luckily for us there exist a bash script to basically do all of it. [Download the script from Blockstream](https://docs.liquid.net/docs/blockstream-liquid-asset-registry#issuing-with-a-contract-hash) Save that file as `issue_and_prepare_register.sh` and open with text editor to customize the following values. ``` +#NOTE: SET YOUR OWN VALUES HERE, THESE ARE WHAT I USED + NAME="StackerNewsDemo-1" TICKER="SND-1" DOMAIN="coins.b0xxy.net" @@ -150,7 +152,11 @@ Take the `liquid-asset-proof-ASSET` file and place it in `.well-known` folder in Then you can run the `register_asset_ASSET.sh` script and you should get a json response back indicating success. -Having done the above, +Having done the above, we can now see the asset has been registered and has a Contract + Contract Hash associated with it: + +![](7-part2-registered.png) + + [^1]: The values E_RPCUSER and E_RPCPASS, where environmental variables we set in Part I