Skip to content

Commit

Permalink
clients/go: Add support for Sapphire Localnet
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Mar 8, 2024
1 parent e113b46 commit b615766
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clients/go/compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ var Networks = map[uint64]NetworkParams{
DefaultGateway: "https://sapphire.oasis.io",
RuntimeID: "0x000000000000000000000000000000000000000000000000f80306c9858e7279",
},
0x5afd: {
Name: "localnet",
ChainID: *big.NewInt(0x5afd),
DefaultGateway: "http://localhost:8545",
RuntimeID: "0x8000000000000000000000000000000000000000000000000000000000000000",
},
}

// PackTx prepares a regular Eth transaction for Sapphire. The transaction returned from this function is what must be signed.
Expand Down

0 comments on commit b615766

Please sign in to comment.