Examples of interactions with xx network blockchain using python.
Verify an on-chain proposal to change cmix variables (which includes geo multipliers).
Get current economic parameters and estimating average validator payout.
Run the phragmen election algorithm on the current Staking state of the chain.
Nominate the top 16 validators by performance over last week.
Get rewards information both in value and APY for a given set of accounts for a range of eras.
Create a proposal to change cmix variables (which includes geo multipliers).
An URL can be provided to XXNetworkInterface
in order to connect to the blockchain. It defaults to ws://localhost:63007
.
Node operators can run the script on their node computer, or on another machine using an SSH Tunnel.
For development purposes, a local network can be launched following the instructions from localnet.