I created a private network using only stellar-core, but I'm finding it increasing difficult to work with the network without SDK support. This can be all solved if I can use stellar-lab with my private network.

I see that I can interact with a custom network using the custom button on top right corner of stellar-lab, which requires a network-passphrase and a Horizon URL. I know my network-passphrase but have no idea how to setup my Horizon URL or what that even is. Could someone point me in the right direction?

Interaction with Stellar (-based) blockchain should be done via Horizon.

You need to deploy horizon server and set up it to your stellar-core node.

  1. Build it from repo https://github.com/stellar/horizon or use prebuilt binaries.
  2. Bind Horizon ports to External IP:port behind url with SSL certificate.
  3. In Stellar Laboratory you can add custom url: https://yourhorizon.com:port/ and use it as testnet/mainnet.
  • BTW, if you plan to work with historical data (not just posting transactions), you should run Horizon with option --ingest=true – cod Oct 8 at 11:29

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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