Skip to main content

dARK Gateway libs

Project description

dark-gateway

The dARK Python Library provides a convenient, low-level interface to interact directly with dARK smart contracts from your Python applications. This library supports various deployment scenarios, whether you are connecting to a public dARK network, a consortium network, or your own local/organizational deployment. With this library, you can:

  • Mint new ARK identifiers: Register new resources and obtain their corresponding ARK IDs.
  • Resolve ARK identifiers: Retrieve the metadata associated with a specific ARK ID.
  • Manage metadata: (If supported by your dARK instance) Update or extend the metadata of existing ARK IDs.
  • Query the blockchain: Access on-chain information, such as checking for the existence of an ARK ID, retrieving the owner of an ARK, and listing associated external PIDs.

The repository includes detailed documentation, installation instructions, and usage examples, making it the recommended approach for developers looking to build applications that require fine-grained control over dARK interactions or direct integration with blockchain logic. To connect to your instance, configure the library using your instance's config.ini and deployed_contracts.ini files, specifying the appropriate blockchain network and contract addresses.

How to install

You can easily install the dARK Gateway library via pip. Run the following command in your terminal:

pip install dark-gateway==0.1.6

How to use

We have created a notebook to illustrate how to utilize the dARK Gateway library effectively. This notebook demonstrates the core functions of the library, providing practical examples for you to follow.

For more in-depth information and technical details, please refer to our comprehensive technical documentation. The intention is to enable developers to easily use this library to create new applications for dARK, fostering innovation and simplifying development processes.

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

dark-gateway-2.0.0a0.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dark_gateway-2.0.0a0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file dark-gateway-2.0.0a0.tar.gz.

File metadata

  • Download URL: dark-gateway-2.0.0a0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for dark-gateway-2.0.0a0.tar.gz
Algorithm Hash digest
SHA256 656982494a68fd036c781139cc44f2fda1739d2adf293a862691846331ace316
MD5 dab2ebe3267f41025a81522e9b5f9e54
BLAKE2b-256 74954d2cd671f39ef6558facf79406f0e41a2592f2d9de643b96f498f93cbef9

See more details on using hashes here.

File details

Details for the file dark_gateway-2.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: dark_gateway-2.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for dark_gateway-2.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 af70891c575ff92ffa287651f74f83a5514b50e6b86bae3b4b5e92448d2eca12
MD5 5edf6f1ac2be70f48252ea93c41726dc
BLAKE2b-256 609d2c74fc379ed1b2730d875c744cd76ebe83aa182f22d0c4c207ba0d2f1e2a

See more details on using hashes here.

Supported by

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