Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

For questions specifically regarding the Golang Software Development Kit (SDK) for Stellar client applications.

0
votes
3answers
61 views

Muliti Signature with hash(x) in goLang SDK

I have a stellar account say "ACCOUNT1" with the following attributes: MasterWeight = 2 Threshold [ 1, 2, 3] Signers: Masterkey with weight 2 ed25519_public_key with weight 1 (say ACCOUNT2) ...
3
votes
1answer
28 views

Notify every new ledger

How I can get notify (like newblockinfo in bitcoin or getlastblock in ethereum or bitcoin) on new ledger in blockchain with go-sdk
1
vote
2answers
58 views

How to sign transaction offline with go sdk?

I need to build transaction on machine with internet via go sdk and then sign it on offline machine
1
vote
2answers
40 views

Setting Data with the Go SDK

I recently started using the Go SDK to interact with the horizon testnet. I am able to read data from the account key/value store using the func (*Account) GetData method: stellarAcc, err := client....
0
votes
1answer
64 views

How could I create an AutoSequence in a private testnet with the golang SDK?

With the DefaultTestNetClient implementing the SequenceProvider interface, when we use a private testnet, how would we need to implement this since without it (I guess) transactions cannot be ...
1
vote
2answers
185 views

tx_bad_seq error when creating account with the root account of Stellar private network

I constructed the Stellar private network on my Mac following https://www.stellar.org/developers/stellar-core/software/admin.html#starting-a-new-network with postgres and horizon server. I know what ...
0
votes
1answer
41 views

How can I build a transaction with a dynamic list of mutators or operations using the Go SDK?

I'm trying to submit many operations in a single transaction that are built up dynamically. How can I convert these operations to a Stellar Transaction? Please provide code samples if possible.
1
vote
1answer
86 views

How to access the “All Operations” Horizon endpoint using the Go SDK?

I'm working on an inflation pool, using the go SDK. However the client/horizon package doesn't expose all the horizon endpoints (the Client Interface only has Root, HomeDomainForAccount, LoadAccount, ...