Usage
CSDKAccount(
private_key=None,
hrp="cosmos")
Example
from aleph_client.chains.cosmos import CSDKAccount
account = CSDKAccount("<Your Private Key Here>")
Usage
ETHAccount(
private_key=None)
Example
from aleph_client.chains.ethereum import ETHAccount
account = ETHAccount("<Your Private Key Here>")
Usage for Nuls1
NULSAccount(
private_key=None,
chain_id=8964)
chain_id - integer
Default: 8964
Usage for Nuls2
NULSAccount(
private_key=None,
chain_id=1,
prefix="NULS")
prefix - string
Default: "NULS"
Examples for Nuls 1 and 2
from aleph_client.chains.nuls1 import NULSAccount
account = NULSAccount("<Your Private Key Here>")
from aleph_client.chains.nuls2 import NULSAccount
account = NULSAccount("<Your Private Key Here>")
Usage
DOTAccount(
mnemonics=None,
address_type=42)
mnemonics - account mnemonics phrase
Should be passed in order to instantiate the account
address_type - optional integer
Default: 42
Generic Substrate has 00101010b
as the address type, 42
is in decimal.
Example
from aleph_client.chains.substrate import DOTAccount
account = DOTAccount("<Your Mnemonics Here>")
Usage
SOLAccount(
private_key=None)
private_key - string
The private key for the account
Example
from aleph_client.chains.sol import SOLAccount
account = SOLAccount("<Your Private Key Here>")