neo-project / neo-node

MIT License
229 stars 223 forks source link

How can i decode block hash / address hash / transaction hash #834

Closed chandramouli-scs closed 2 years ago

chandramouli-scs commented 2 years ago

I have tried in many ways but i can't decode block hash / address hash / transaction hash , please help , Thank you . Can any one explain how to decode block hash / address hash / transaction hash .

Qiao-Jin commented 2 years ago

https://github.com/neo-project/neo/blob/master/src/neo/UInt160.cs https://github.com/neo-project/neo/blob/master/src/neo/UInt256.cs

chandramouli-scs commented 2 years ago

https://github.com/neo-project/neo/blob/master/src/neo/UInt160.cs https://github.com/neo-project/neo/blob/master/src/neo/UInt256.cs

Thank you @Qiao-Jin for your reply , but I am Using Ruby to decode , please help me to decode hash using ruby ,i have tried many ways to decode with base58 , sha256 algos .