Skip to content

Commit 5020ecc

Browse files
committed
rewrite
1 parent 11b3c91 commit 5020ecc

File tree

5 files changed

+16
-18
lines changed

5 files changed

+16
-18
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
**English** | [中文](https://github.com/nanmu42/etherscan-api/blob/master/README_ZH.md)
1+
**English** | [中文](https://github.com/jonpaulh/etherscan-api/blob/master/README_ZH.md)
22

33
# etherscan-api
44

5-
[![GoDoc](https://godoc.org/github.com/nanmu42/etherscan-api?status.svg)](https://godoc.org/github.com/nanmu42/etherscan-api)
6-
[![CI status](https://github.com/nanmu42/etherscan-api/actions/workflows/ci.yaml/badge.svg)](https://github.com/nanmu42/etherscan-api/actions)
5+
[![GoDoc](https://godoc.org/github.com/jonpaulh/etherscan-api?status.svg)](https://godoc.org/github.com/jonpaulh/etherscan-api)
6+
[![CI status](https://github.com/jonpaulh/etherscan-api/actions/workflows/ci.yaml/badge.svg)](https://github.com/jonpaulh/etherscan-api/actions)
77
[![codecov](https://codecov.io/gh/nanmu42/etherscan-api/branch/master/graph/badge.svg)](https://codecov.io/gh/nanmu42/etherscan-api)
8-
[![Go Report Card](https://goreportcard.com/badge/github.com/nanmu42/etherscan-api)](https://goreportcard.com/report/github.com/nanmu42/etherscan-api)
8+
[![Go Report Card](https://goreportcard.com/badge/github.com/jonpaulh/etherscan-api)](https://goreportcard.com/report/github.com/jonpaulh/etherscan-api)
99

1010
Golang client for the Etherscan.io API(and its families like BscScan), with nearly full implementation(accounts, transactions, tokens, contracts, blocks, stats), full network support(Mainnet, Ropsten, Kovan, Rinkby, Goerli, Tobalaba), and only depending on standard library. :wink:
1111

1212
# Usage
1313

1414
```bash
15-
go get github.com/nanmu42/etherscan-api
15+
go get github.com/jonpaulh/etherscan-api
1616
```
1717

1818
Create an API instance and off you go. :rocket:
1919

2020
```go
2121
import (
22-
"github.com/nanmu42/etherscan-api"
22+
"github.com/jonpaulh/etherscan-api"
2323
"fmt"
2424
)
2525

@@ -61,7 +61,7 @@ func main() {
6161
}
6262
```
6363

64-
You may find full method list at [GoDoc](https://godoc.org/github.com/nanmu42/etherscan-api).
64+
You may find full method list at [GoDoc](https://godoc.org/github.com/jonpaulh/etherscan-api).
6565

6666
# Etherscan API Key
6767

README_ZH.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
[English](https://github.com/nanmu42/etherscan-api/blob/master/README.md) | **中文**
1+
[English](https://github.com/jonpaulh/etherscan-api/blob/master/README.md) | **中文**
22

33
# etherscan-api
44

5-
[![GoDoc](https://godoc.org/github.com/nanmu42/etherscan-api?status.svg)](https://godoc.org/github.com/nanmu42/etherscan-api)
6-
[![CI status](https://github.com/nanmu42/etherscan-api/actions/workflows/ci.yaml/badge.svg)](https://github.com/nanmu42/etherscan-api/actions)
5+
[![GoDoc](https://godoc.org/github.com/jonpaulh/etherscan-api?status.svg)](https://godoc.org/github.com/jonpaulh/etherscan-api)
6+
[![CI status](https://github.com/jonpaulh/etherscan-api/actions/workflows/ci.yaml/badge.svg)](https://github.com/jonpaulh/etherscan-api/actions)
77
[![codecov](https://codecov.io/gh/nanmu42/etherscan-api/branch/master/graph/badge.svg)](https://codecov.io/gh/nanmu42/etherscan-api)
8-
[![Go Report Card](https://goreportcard.com/badge/github.com/nanmu42/etherscan-api)](https://goreportcard.com/report/github.com/nanmu42/etherscan-api)
8+
[![Go Report Card](https://goreportcard.com/badge/github.com/jonpaulh/etherscan-api)](https://goreportcard.com/report/github.com/jonpaulh/etherscan-api)
99

1010
Etherscan API的Golang客户端,
1111
支持几乎所有功能(accounts, transactions, tokens, contracts, blocks, stats),
@@ -15,14 +15,14 @@ Etherscan API的Golang客户端,
1515
# 使用方法
1616

1717
```bash
18-
go get github.com/nanmu42/etherscan-api
18+
go get github.com/jonpaulh/etherscan-api
1919
```
2020

2121
填入网络选项和API Key即可开始使用。 :rocket:
2222

2323
```go
2424
import (
25-
"github.com/nanmu42/etherscan-api"
25+
"github.com/jonpaulh/etherscan-api"
2626
"fmt"
2727
)
2828

@@ -63,7 +63,7 @@ func main() {
6363
}
6464
```
6565

66-
客户端方法列表可在[GoDoc](https://godoc.org/github.com/nanmu42/etherscan-api)查询。
66+
客户端方法列表可在[GoDoc](https://godoc.org/github.com/jonpaulh/etherscan-api)查询。
6767

6868
# Etherscan API Key
6969

account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (c *Client) InternalTxByAddress(address string, startBlock *int, endBlock *
8686
// and TokenDecimal is 0.
8787
//
8888
// More information can be found at:
89-
// https://github.com/nanmu42/etherscan-api/issues/8
89+
// https://github.com/jonpaulh/etherscan-api/issues/8
9090
func (c *Client) ERC20Transfers(contractAddress, address *string, startBlock *int, endBlock *int, page int, offset int, desc bool) (txs []ERC20Transfer, err error) {
9191
param := M{
9292
"page": page,

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
// with full network support(Mainnet, Ropsten, Kovan, Rinkby, Tobalaba),
66
// and only depending on standard library.
77
//
8-
// Example can be found at https://github.com/nanmu42/etherscan-api
8+
// Example can be found at https://github.com/jonpaulh/etherscan-api
99
package etherscan

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ module github.com/jonpaulh/etherscan-api
33
go 1.13
44

55
require github.com/google/go-cmp v0.5.7
6-
7-
replace github.com/nanmu42/etherscan-api => github.com/jonpaulh/etherscan-api v0.0.0-20240312004502-0d2eec180b28

0 commit comments

Comments
 (0)