Skip to content

Commit

Permalink
add support for GRAFT
Browse files Browse the repository at this point in the history
  • Loading branch information
Equim-chan committed Dec 7, 2019
1 parent e43f38c commit e8d0ac1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/vanity-monero/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,14 @@ func main() {
fmt.Println("Select network:")
fmt.Println("1) Monero main network")
fmt.Println("2) Monero test network")
switch promptNumber("Your choice:", 1, 2) {
fmt.Println("3) GRAFT main network")
switch promptNumber("Your choice:", 1, 3) {
case 1:
network = vanity.MoneroMainNetwork
case 2:
network = vanity.MoneroTestNetwork
case 3:
network = vanity.GraftMainNetwork
}
fmt.Println()

Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ require (
github.com/paxos-bankchain/moneroutil v0.0.0-20170611151923-33d7e0c11a62
golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb
)

go 1.13
1 change: 1 addition & 0 deletions variant.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ type Network []byte
var (
MoneroMainNetwork = Network{0x12}
MoneroTestNetwork = Network{0x35}
GraftMainNetwork = Network{0x5a}
)

0 comments on commit e8d0ac1

Please sign in to comment.