Sirious-py is a rpc and api wrapper.
First, install it via pip:
pip install sirious
All commands interfacing with the node need to use an Instance of sirious()
To create a new instance, run:
import sirious
siro = sirious.sirious()
Here are some commands you can use:
# Private key From To Amount
print(siro.transaction("XXXXXXXXXXXXXXXXXXXXXX", "0x4ba...b313", "0xbd...164", 1))
# returns False
# Address
print(siro.balance("0x4ba...b313"))
# Address
print(siro.is_address("0x4ba...b313"))
Better docs soon™
If you face any issues, file a issue on Github.
If you want to support the developer, send, Sirious, BNB, MATIC or ETH to the following address:
0x4baE9F81a30b148Eb40044F6268B5496861Cb313
This code is released under MIT License.