This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "base58-alphabets" | |
def bytes_to_base58(bytes) | |
hex = bytes.pack("C*").unpack("H*").first | |
# puts hex | |
Base58.encode_hex(hex) | |
end | |
keypair_bytes = [14,243,24,200,213,51,37,191,44,30,242,109,48,162,226,114,108,22,1,200,234,13,47,150,230,200,67,72,253,38,46,182,39,131,0,213,85,248,100,98,187,187,62,244,30,242,237,146,4,137,168,1,10,189,202,223,200,4,61,9,115,85,101,167] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh 8 hrs 51 mins █████████████████░░░░ 81.0% | |
TypeScript 1 hr 37 mins ███▏░░░░░░░░░░░░░░░░░ 14.9% | |
JavaScript 23 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.5% | |
Markdown 3 mins ░░░░░░░░░░░░░░░░░░░░░ 0.5% |