Skip to content

Instantly share code, notes, and snippets.

View gyrusdentatus's full-sized avatar
💭
luv luv luv

Hans Bricks gyrusdentatus

💭
luv luv luv
View GitHub Profile
@venglov
venglov / PUNKME.md
Last active September 2, 2021 17:36
How to update the node & transfer hals to punks & run the node or delegate your funds
  1. Update your node

    You need to build the binary file from source or download it from the GH:

    1. To build it from source:
      go to the nym directory on your server and run the next commands

       git fetch
       git checkout v0.11.0
@sgeisler
sgeisler / assetsdir.sh
Last active September 19, 2020 14:58
Fetch the Liquid asset list and add the ticker labels to elements.conf
# 1. fetches asset registry JSON
# 2. extract ticker symbol and asset id
# 3. format it in the elements.conf format
# 4. deduplicate ticker symbols (apparently no uniqueness is enforced, beware that this operation is lossy)
# 5. append the labels to ~/.elements/elements.conf
curl https://assets.blockstream.info/ | jq -r '.[] | values | (.contract.ticker, .asset_id)' | xargs -n2 bash -c 'echo "assetdir=$1:$0"' | sort -t ':' -k '2' -u >> ~/.elements/elements.conf