You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can change the Network setting from Network.TESTNET to Network.MAINNET.
Firstly, it's not clear which "Testnet" version this if referring to. It looks like its the "legacy" (broken) testnet still being run by IOG but could (should) be the PREVIEW and/or the PREPROD network. It would be nice if you choose explicitely.
Secondly, it would be nice not to rely on a third-party API like Blockfrost for chain data but instead use your own copy from your cardano-node db. Can we add a config option to PyCardano to use a local node for its read/write transactions?
The text was updated successfully, but these errors were encountered:
When the library was created, there were only one testnet and mainnet, so I simply used Network to distinguish the network. Network type is not intended to identify the chain, it should be only used to create cardano address. I could probably remove Network type from the parameter of BlockFrost chain context. Also, if you want to use a specific network in BlockFrost, you can pass the API url to base_url param, see this post here: https://github.com/cffls/pycardano/discussions/83#discussioncomment-3549922
An alternative to Blockfrost chain context we have implemented is Ogmios chain context, which allows you to run everything locally without depending on a thrid-party API. This is an example where we use Ogmios chain context to get and submit transactions to a local chain.
Currently you can change the Network setting from Network.TESTNET to Network.MAINNET.
Firstly, it's not clear which "Testnet" version this if referring to. It looks like its the "legacy" (broken) testnet still being run by IOG but could (should) be the PREVIEW and/or the PREPROD network. It would be nice if you choose explicitely.
Secondly, it would be nice not to rely on a third-party API like Blockfrost for chain data but instead use your own copy from your cardano-node db. Can we add a config option to PyCardano to use a local node for its read/write transactions?
The text was updated successfully, but these errors were encountered: