Update docs/liquid/liquid-part2.md
This commit is contained in:
parent
c3e19a35d8
commit
6863ca7244
@ -202,15 +202,15 @@ The publication of asset metadata info on Liquid works on a `.well-known` system
|
|||||||
|
|
||||||
* Lets set a few environmental variables to make things easier:
|
* Lets set a few environmental variables to make things easier:
|
||||||
|
|
||||||
`$ ASSET_REGISTRY_URL="https://assets.blockstream.info/"`
|
```
|
||||||
|
$ export ASSET_REGISTRY_URL="https://assets.blockstream.info/"
|
||||||
|
$ export DOMAIN="coins.b0xxy.net" #NOTE: Needs to match what was in Contract Hash
|
||||||
|
$ export ASSET="41c19a473c71298a28342ccbf6fcbd3042cae8607b3b79d336b4c02e89ba2c66" #NOTE: Needs to match the asset you are registering
|
||||||
|
$ echo "Authorize linking the domain name $DOMAIN to the Liquid asset $ASSET" > liquid-asset-proof-$ASSET
|
||||||
|
```
|
||||||
|
|
||||||
`$ export DOMAIN="nulldata.org"` (NOTE: Needs to match what you set in Bash script above)
|
|
||||||
|
|
||||||
`$ export ASSET="409b1d0cb614822ea703576b71958ab051d66ff6708b368f378f2ffea458d15a"` (NOTE: Needs to match the asset you are registering)
|
Running the above will result in a file named `liquid-asset-proof-41c19a...` being created, and inside that file it will say `Authorize linking the domain name coins.b0xxy.net to the Liquid asset 41c19a...`
|
||||||
|
|
||||||
`$ echo "Authorize linking the domain name $DOMAIN to the Liquid asset $ASSET" > liquid-asset-proof-$ASSET`
|
|
||||||
|
|
||||||
Running the above will result in a file named `liquid-asset-proof-409b1d0c...` being created, and inside that file it will say `Authorize linking the domain name nulldata.org to the Liquid asset 409b1d0c...`
|
|
||||||
|
|
||||||
First you need to place this `liquid-asset-proof` file in the root directory of your domain under a folder named `.well-known`
|
First you need to place this `liquid-asset-proof` file in the root directory of your domain under a folder named `.well-known`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user