Reading the Tarot:
"In competitive games the goal is eliminating the adversary, which amounts to killing him metaphorically.
In the tarological game, the objective is to heal the adversary and help him live."
—Alejandro Jodorowsky
The Tarot is not a magic trick, nor is it a divination method or some messenger from ghosts
to help you predict the future. Tarot is more like a combination of a comic strip and a
Rorschach inkbot test. Every sequence of cards is a randomly generated piece of art, rich with symbols and connections
intended to inspire the introspective mind. When you see the characters of The Tarot,
ask yourself who in your life they remind you of. When you see colors or shapes hidden in
the pictures, ask yourself how they make you feel. Ask The Tarot a question, draw a card,
and then let the image before you ricochet around your mind, stimulating memories and emotions.
Cards in DNS records:
You can draw a Handshake Tarot card using DNS requests, even if you don't have a Handshake resolver installed yet. There are terminal commands below to see a specific card right from the blockchain, or even draw a random card to inspire you or to solve a personal mystery.
Why are these commands so long and complicated looking? Because the ASCII artwork is full of special
characters like punctuation marks, and typically these symbols are escaped with extra slashes (example: /
becomes //
).
Terminal standards destroy the artwork! In addition, recursive resolvers like to rotate sets of
records they receive, which shuffles the artwork around. We need some little hacks to clean all that up.
Your own results may vary depending on your operating system and resolver configuration.
Draw a random card using DNS:
The authoritative nameserver hosting the zone thehandshaketarot/
has been
specifically modified to serve random CNAME records for The Handshake Tarot cards with
a cache TTL of 0. Each time a DNS request is made to the card.
subdomain, a new random
card will be dealt. Due to RRSET rotation, the output will animate for a few seconds and
then stop on a single card.
With Fingertip installed and running:
while [[ $(( $(date +%s) % 23 )) != 0 ]]; do sleep .9; clear; dig @127.0.0.1 -p 9592 TXT +short card.thehandshaketarot | sed 's/\\"/\"/g' | sed 's/\\\\/\\/g'; done
With Bob Wallet installed, running and "DNS Servers" enabled (in "Settings"):
while [[ $(( $(date +%s) % 23 )) != 0 ]]; do sleep .9; clear; dig @127.0.0.1 -p 5350 TXT +short card.thehandshaketarot | sed 's/\\"/\"/g' | sed 's/\\\\/\\/g'; done
If you don't have a Handshake resolver yet you can use this DoH server:
curl -H 'accept: application/dns-json' 'https://easyhandshake.com:8053/dns-query?name=card.thehandshaketarot&type=TXT' | jq -r .Answer[].data | sed 's/\\"/\"/g' | sed 's/\\\\/\\/g'
For users without jq installed (Mac OSX):
curl -H 'accept: application/dns-json' 'https://easyhandshake.com:8053/dns-query?name=card.thehandshaketarot&type=TXT' | json_pp | grep data | sed 's/\\\\\\"/"/g' | sed 's/\\\\\\\\/\\/g'
Draw a specific card using DNS:
With Fingertip installed and running:
dig @127.0.0.1 -p 9591 TXT +short 0_the_fool | sed 's/\\"/\"/g' | sed 's/\\\\/\\/g'
With Bob Wallet installed, running and "DNS Servers" enabled (in "Settings"):
dig @127.0.0.1 -p 5349 TXT +short 0_the_fool | sed 's/\\"/\"/g' | sed 's/\\\\/\\/g'
If you don't have a Handshake resolver yet you can use this DoH server:
curl -H 'accept: application/dns-json' 'https://easyhandshake.com:8053/dns-query?name=0_the_fool&type=TXT' | jq -r .Answer[].data | sed 's/\\"/\"/g' | sed 's/\\\\/\\/g'
For users without jq installed (Mac OSX):
curl -H 'accept: application/dns-json' 'https://easyhandshake.com:8053/dns-query?name=0_the_fool&type=TXT' | json_pp | grep data | sed 's/\\\\\\"/"/g' | sed 's/\\\\\\\\/\\/g'