stacks-network / docs

Unleash Bitcoin's full potential with decentralized apps and smart contracts. The documentation covers key aspects of the Stacks network and technology and provides tutorials and other helpful content for developers.
https://docs.stacks.co
Creative Commons Zero v1.0 Universal
157 stars 235 forks source link

Fix nit around online tooling. #1611

Closed AshtonStephens closed 7 months ago

AshtonStephens commented 7 months ago

Description

Change the guidance around encoding tools to use local method:

python3 -m venv .venv
source .venv/bin/activate
pip3 install base58
sudo bash -c 'cat <<EOF> ./encode.py
from sys import argv
import base58
print(base58.b58encode(argv[1]).decode("utf-8"))
EOF'
python3 ./encode.py PRIVATE_KEY