We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The map of network name -> RPC URL should be part of the Sapphire Py wrapper.
This is a typical snippet in the current python projects:
def __init__(self, network_name: str): networks = { "sapphire": "https://sapphire.oasis.io", "sapphire-testnet": "https://testnet.sapphire.oasis.io", "sapphire-localnet": "http://localhost:8545", } self.w3 = setup_web3_middleware(networks.get(network_name), PRIVATE_KEY)
sapphire.NETWORKS constant should be used instead of networks.
sapphire.NETWORKS
networks
The text was updated successfully, but these errors were encountered:
ZigaMr
No branches or pull requests
SUMMARY
The map of network name -> RPC URL should be part of the Sapphire Py wrapper.
This is a typical snippet in the current python projects:
sapphire.NETWORKS
constant should be used instead ofnetworks
.The text was updated successfully, but these errors were encountered: