2

I cloned the stellar laboratory project and edited the /src/constants/networks.js file to switch the testnet horizon url to url of my own horizon instance.

This allowed me to get requests such as checking account status, but post requests such as sending a transaction fail for "bad_auth", I figured out that this is because I didn't set my network passphrase, but I'm not sure where can I do this?

2

Figured out the solution, just write the password in the next line :) In /src/constants/network.js

const NETWORK = {
  available: {
    test: {
      url: 'your url',
      networkObj: new Network('your passphrase'),

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.