Skip to content

Commit

Permalink
Merge pull request #558 from onflow/ianthpun/crescendo
Browse files Browse the repository at this point in the history
add Crescendo Support
  • Loading branch information
ianthpun authored Jan 18, 2024
2 parents 1609bda + fb615de commit af1a14d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions access/grpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const EmulatorHost = "127.0.0.1:3569"
const TestnetHost = "access.devnet.nodes.onflow.org:9000"
const CanarynetHost = "access.canary.nodes.onflow.org:9000"
const MainnetHost = "access.mainnet.nodes.onflow.org:9000"
const CrescendoHost = "access.crescendo.nodes.onflow.org:9000"

// NewClient creates an gRPC client exposing all the common access APIs.
// Client will use provided host for connection.
Expand Down
1 change: 1 addition & 0 deletions access/http/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const (
TestnetHost = "https://rest-testnet.onflow.org/v1"
MainnetHost = "https://rest-mainnet.onflow.org/v1"
CanarynetHost = "https://rest-canary.onflow.org/v1"
CrescendoHost = "https://rest-crescendo.onflow.org/v1"
)

// NewClient creates an HTTP client exposing all the common access APIs.
Expand Down
3 changes: 3 additions & 0 deletions flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ const (
// Testnet is the chain ID for the testnet chain.
Testnet ChainID = "flow-testnet"

// Crescendo is the chain ID for the crescendo chain.
Crescendo ChainID = "flow-crescendo"

// Transient test networks

// Benchnet is the chain ID for the transient benchmarking chain.
Expand Down

0 comments on commit af1a14d

Please sign in to comment.