Skip to main content

Python client for FoundryNet - Universal DePIN Protocol for Work Settlement on Solana

Project description

foundry-client

Python client for FoundryNet - Universal DePIN Protocol for Work Settlement on Solana.

Installation

pip install foundry-client

Quick Start

from foundry_client import FoundryClient

client = FoundryClient()
client.init()

# Register machine (one-time)
client.register_machine()

# Submit jobs
job_hash = client.generate_job_hash("work-content")
client.record_job(job_hash, duration_seconds=3600)

Links

License

MIT

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

foundry_client-2.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

foundry_client-2.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file foundry_client-2.0.0.tar.gz.

File metadata

  • Download URL: foundry_client-2.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for foundry_client-2.0.0.tar.gz
Algorithm Hash digest
SHA256 cb7ffc61d9c5c444b9a9a02eb6338759fa044c75ec811e00cd46f5069fd6bf63
MD5 ddf7893eb47252bc6a20ee318344525a
BLAKE2b-256 65c88b1421738fb8f31100a2bd78ce12c6f2d007c02cc726284a0bd3a39c8310

See more details on using hashes here.

File details

Details for the file foundry_client-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: foundry_client-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for foundry_client-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d840c13383e6538787ad32d39cf14104804030f35bb1973154bc661a18668694
MD5 c4a0152f8e6068f1e0d935ab9be0ac98
BLAKE2b-256 4bfbf2716ec0bbd4821df44a47f6a48a7c4a5a085ad59edd8a2aacba1f6db1d8

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