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
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
barter_sdk-1.0.0.tar.gz
(9.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
894db72b03b4120a38b3aa9e1aa7601905c251f2df52222266c70de0168cf540
|
|
| MD5 |
2aee5158bbea6525f0f282077b1364b8
|
|
| BLAKE2b-256 |
d92bf4eedc1ddecbc71478c028c2ee4b9516767062cc4ce9ecf81836a1615952
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22e78d5bcefab7b9c1eddad8297f5ebd578522bb359e002daf0767cea3a00cdf
|
|
| MD5 |
ea9fbef4ef44247a19454f2367aad113
|
|
| BLAKE2b-256 |
5572d897fca899923f254e4a9af3364231954a6b864e389d87b242c808cb460f
|