Skip to main content

Proof of Trade Protocol — Python SDK for BTR-Trust soulbound reputation

Project description

barter-sdk

Python SDK for the BTR Proof of Trade Protocol.

Install

pip install barter-sdk

Usage

import btr

client = btr.BarterClient(network="sepolia")

# Get trust score
score = client.trust.get_score("0x742d...3F9a")

# Get full profile
profile = client.trust.get_profile("0x742d...3F9a")
print(f"Score: {profile.score}")
print(f"Trades: {profile.trade_count}")

# Compliance check
report = client.compliance.full_report("0x742d...3F9a")
print(f"Risk: {report.risk_level}")

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

barter_sdk-1.0.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

barter_sdk-1.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file barter_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: barter_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for barter_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 894db72b03b4120a38b3aa9e1aa7601905c251f2df52222266c70de0168cf540
MD5 2aee5158bbea6525f0f282077b1364b8
BLAKE2b-256 d92bf4eedc1ddecbc71478c028c2ee4b9516767062cc4ce9ecf81836a1615952

See more details on using hashes here.

File details

Details for the file barter_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: barter_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for barter_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22e78d5bcefab7b9c1eddad8297f5ebd578522bb359e002daf0767cea3a00cdf
MD5 ea9fbef4ef44247a19454f2367aad113
BLAKE2b-256 5572d897fca899923f254e4a9af3364231954a6b864e389d87b242c808cb460f

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