bytees from zpub example

This commit is contained in:
timlucmiptev 2020-09-28 10:37:57 +03:00 committed by ixv
parent 5e6d3d151c
commit c9c57724d3

7
dev-scratchpad.md Normal file
View File

@ -0,0 +1,7 @@
## base58
Converts a base58 zpub to hex
```
=zpub-atom (de-base58:mimes:html "zpub6rFR7y4Q2AijBEqTUquhVz398htDFrtymD9xYYfG1m4wAcvPhXNfE3EfH1r1ADqtfSdVCToUG868RvUUkgDKf31mGDtKsAYz2oz2AGutZYs")
=zpub-bytes (turn (flop (rip 3 zpub)) |=(a=@ `@ux`a))
```