Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix(BUX-694): update default urls in go-broadcast-client (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
wregulski authored Apr 4, 2024
1 parent ff619b7 commit d4402d1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions examples/get_fee_quote/get_fee_quote.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func main() {
deploymentID := "broadcast-client-example"

gorillaCfg := broadcast_client.ArcClientConfig{
Token: "",
APIUrl: "https://arc.gorillapool.io",
Token: "mainnet_06770f425eb00298839a24a49cbdc02c",
APIUrl: "https://arc.taal.com",
DeploymentID: deploymentID,
}

Expand Down
4 changes: 2 additions & 2 deletions examples/get_policy_quote/get_policy_quote.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func main() {
deploymentID := "broadcast-client-example"

gorillaCfg := broadcast_client.ArcClientConfig{
Token: "",
APIUrl: "https://arc.gorillapool.io",
Token: "mainnet_06770f425eb00298839a24a49cbdc02c",
APIUrl: "https://arc.taal.com",
DeploymentID: deploymentID,
}

Expand Down
4 changes: 2 additions & 2 deletions examples/query_transaction/query_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
// This example shows how to query a transaction by its hex.
func main() {
logger := zerolog.Nop()
token := ""
apiURL := "https://arc.gorillapool.io"
token := "mainnet_06770f425eb00298839a24a49cbdc02c"
apiURL := "https://arc.taal.com"
deploymentID := "broadcast-client-example"
txID := "469dd0f63fe4b3fe972dc72d28057e931abd69d8dfc85bf6e623efa41d50ef73"

Expand Down
4 changes: 2 additions & 2 deletions examples/submit_batch_transactions/submit_batch_txs.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
// This example shows how to submit a batch of transactions.
func main() {
logger := zerolog.Nop()
token := ""
apiURL := "https://arc.gorillapool.io"
token := "mainnet_06770f425eb00298839a24a49cbdc02c"
apiURL := "https://arc.taal.com"
deploymentID := "broadcast-client-example"
txs := []*broadcast.Transaction{
{Hex: "0100000001d6d1607b208b30c0a3fe21d563569c4d2a0f913604b4c5054fe267da6be324ab220000006b4830450221009a965dcd5d42983090a63cfd761038ff8adcea621c46a68a205f326292a95383022061b8d858f366c69f3ebd30a60ccafe36faca4e242ac3d2edd3bf63b669bcf23b4121034e871e147aa4a3e2f1665eaf76cf9264d089b6a91702af92bd6ce33bac84a765ffffffff0123020000000000001976a914d8819a7197d3e221e15f4348203fdecfd29fa2b888ac00000000"},
Expand Down
4 changes: 2 additions & 2 deletions examples/submit_transaction/submit_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
// This example shows how to submit a transaction.
func main() {
logger := zerolog.Nop()
token := ""
token := "mainnet_06770f425eb00298839a24a49cbdc02c"
deploymentID := "broadcast-client-example"
apiURL := "https://arc.gorillapool.io"
apiURL := "https://arc.taal.com"
tx := broadcast.Transaction{Hex: "01000000026d9a56036235bb5b5e39b04b6f188c74bc45189a9122f235cad5f0c4b668817d000000006b483045022100ae4c9b06376c42bf82f7910de20bb025d8b43daf33eb2db1966f0f1fd361d499022063594799502920ceceb17e3301e44066431a5ae1e221ce1bd89b446e602adf62412102dd2063cc1d4fbc5a770b156f8cd9f5c80cc586df4c7d148444d6bb66c81a10daffffffff6e574c52ebc1c724a13d0afd525adbcfe0b134d9666ab9004240d9d072a7906b000000006a4730440220191c938793953f931c9297a27a651b07e5cb60432fd5750a3f53488ed23fae8702204c503822986ef959af741609dfe98a51004e36596ca52a865c5e029fdbcfb3d641210253085022df5ebbdc71f9e8f555443660cda4a3d36d732685be317d7e11b9eda4ffffffff0214000000000000001976a914553236189ff9fed552837b952e404e09f78c03fa88ac01000000000000001976a914d8f00ced3f960ffa6f0516b4e352e0a9feccc3af88ac00000000"}

cfg := broadcast_client.ArcClientConfig{
Expand Down

0 comments on commit d4402d1

Please sign in to comment.