Python API for Emercoin blockchain.
Project description
PyEmer
Python API for Emercoin blockchain.
Usage
from pyemer import Emer
# Emer(user, password, host, port)
emer = Emer("emccoinrpc", "emcpassword")
emer.name_show("dns:flibusta.lib").record.value
emer.name_new("some:name", "some value", 365)
emer.name_new("some:name2", b"byte value", 365, emer.get_account_address())
emer.name_history("some:name")[0].tx.height
emer.get_names_by_type("dns")[0].record.name
emer.get_block_count()
# You can call RPC manually
emer.rpc_connection.signmessage(
emer.rpc_connection.getaccountaddress(""),
"some message"
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyemer-0.1.0.tar.gz
(16.6 kB
view details)
Built Distribution
pyemer-0.1.0-py3-none-any.whl
(17.6 kB
view details)
File details
Details for the file pyemer-0.1.0.tar.gz
.
File metadata
- Download URL: pyemer-0.1.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07065d14227180023472ba2131812ad7c4b3ea08e161b8a1943fdbdde0c798b9 |
|
MD5 | e942c713bb2a8d2b9c30d0b5bc441d83 |
|
BLAKE2b-256 | 66abf995dfdd51ca436e4921106627221faea2237fda050966de3a67307852e3 |
File details
Details for the file pyemer-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyemer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cac27eaf926af3f42761b34e159b7f86e0380cde1d5e023eb2ae990464e6e56 |
|
MD5 | 2dec51a58e150098811e2bcde44f9647 |
|
BLAKE2b-256 | 158d4ec4b0cc1e9788e786d2189772753eef4bd8ddd2fa0e5adbbac7c168f507 |