https://github.com/reiver/go-eip55
https://github.com/reiver/go-eip55
eip-55 erc-55 ethereum ethereum-address ethereum-addresses
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/reiver/go-eip55
- Owner: reiver
- License: mit
- Created: 2024-05-26T16:20:20.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-27T04:16:56.000Z (about 1 year ago)
- Last Synced: 2025-01-25T13:08:27.429Z (5 months ago)
- Topics: eip-55, erc-55, ethereum, ethereum-address, ethereum-addresses
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-eip55
Package **eip55** provides an implementation of [EIP-55](https://eips.ethereum.org/EIPS/eip-55): **"Mixed-case checksum address encoding"**, for the Go programming language.
**EIP-55** is also known as **ERC-55**.
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-eip55
[](https://godoc.org/github.com/reiver/go-eip55)
## Example
Here is an example:
```golang
import "github.com/reiver/go-eip55"// ...
var address [20]byte = // ...
var addressHex string = eip55.Encode(address)
```Here is another example:
```golangimport "github.com/reiver/go-eip55"
// ...
if eip55.IsValid(addressHex) {
// ...
}
```## Import
To import package **eip55** use `import` code like the follownig:
```
import "github.com/reiver/go-eip55"
```## Installation
To install package **eip55** do the following:
```
GOPROXY=direct go get https://github.com/reiver/go-eip55
```## Author
Package **eip55** was written by [Charles Iliya Krempeaux](http://reiver.link)