Skip to content

Instantly share code, notes, and snippets.

View hypefi's full-sized avatar
🐝

Boukharta hypefi

🐝
  • Morocco
View GitHub Profile
@hypefi
hypefi / keypair.rb
Created February 24, 2022 08:50
Solana Keypair from Solana CLI keypair.json
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]
@hypefi
hypefi / 📊 Weekly development breakdown
Last active June 2, 2022 01:57
💻 Weekly development breakdown
sh 8 hrs 51 mins █████████████████░░░░ 81.0%
TypeScript 1 hr 37 mins ███▏░░░░░░░░░░░░░░░░░ 14.9%
JavaScript 23 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.5%
Markdown 3 mins ░░░░░░░░░░░░░░░░░░░░░ 0.5%