Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

pyemer-0.1.0-py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page