Skip to content

How to configure to preprod env now testnet is deprecated? #83

Answered by cffls
rpabani asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there,

You can use Blockfrost context to connect to preprod or preview.
Example:

from pycardano import BlockFrostChainContext, Network

chain_context = BlockFrostChainContext(
    project_id="YOUR_BLOCKFROST_PROJECT_ID",
    network=Network.TESTNET,
    base_url="https://cardano-preview.blockfrost.io/api",
)

APIs url of different networks could be found here.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rpabani
Comment options

@cffls
Comment options

cffls Sep 4, 2022
Maintainer

@cffls
Comment options

cffls Oct 5, 2022
Maintainer

@rpabani
Comment options

Answer selected by rpabani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants