eric-volz/DefichainPython

Allow to run Node with different Flags

Closed this issue · 2 comments

If you use the new changi or testnet network you will poberly start it using the -changi or -testnet flag. The node object does not support a connection to a defichain node startet with these parameters.

  • Research
  • Implementation
  • Test

Relatively simple to archive. Adding a "folder" with the name of the different network at the end of the rpc request.

http://{rpc_user}:{rpc_password}@127.0.0.1:{rpc_port}/testnet/wallet/wallet_name

GPT explanation in German: https://chat.openai.com/share/5aceca75-426a-42e9-bce1-3c90ce467586

After I tried to implement the change, I found out that I was just using the wrong port while trying to connect to my changi node.

Conclusion: No change needed! 🤣