VISCHub / cryptux

Code examples for operating on Cryptocurrency accounts and wallets
4 stars 0 forks source link

Interface for Base58 #5

Open vietlq opened 6 years ago

vietlq commented 6 years ago
Base58
+ static encode(in_bytes) -> base58_bytes
+ static decode(base58_bytes) -> out_bytes
+ static check(in_bytes) -> base58_bytes
vietlq commented 6 years ago

Check out @staticmethod

https://realpython.com/blog/python/instance-class-and-static-methods-demystified/

https://julien.danjou.info/blog/2013/guide-python-static-class-abstract-methods

https://softwareengineering.stackexchange.com/questions/306092/what-are-class-methods-and-instance-methods-in-python