The maintainer has not written a description at the source.
Repo ProvableHQ/python-sdk, read from GitHub 6 h ago. ProvableHQ has not joined Take My Repo.
ProvableHQ/python-sdk is a public repo on GitHub by ProvableHQ. It declares the GPL-3.0 license on GitHub. It is written mainly in Python, has 44 stars and last changed on 2026-11-20. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Build Python applications that read Aleo balances, send public or private transfers, and interact with deployed programs. Use the same account to bridge assets from Ethereum or Solana, trade on Shield Swap, or manage private records.
Start with Aleo for account and transaction workflows, or AsyncAleo for
applications that need concurrent network requests. Cryptographic types are
also available directly for signing, record handling, and custom integrations.
See the SDK walkthrough for account and program examples, and the bridge tutorials for transfers to and from Aleo, shielding, and recovery.
Install the core SDK to manage accounts, read the network, and submit Aleo transactions. Delegated proving is included: a service generates proofs instead of the application's machine.
python -m pip install aleo-sdk
The repository also includes packages for specific tasks. Install these when the application needs the corresponding workflow:
| Task | Package | Guide |
|---|---|---|
| Read balances, send transactions, and call programs | aleo-sdk |
This README |
| Bridge assets between Aleo, Ethereum, and Solana | aleo-bridge-sdk |
Bridge SDK |
| Swap assets and manage liquidity on Shield Swap | shield-swap-sdk |
Shield Swap SDK |
| Generate program ABIs and check compatibility | aleo-contract-abi-generator |
ABI generator |
To read account balances or submit transactions, create an Aleo client for the intended network. Reading public data needs only an address. Sending funds also requires the private key for the account holding those funds.
This setup connects to mainnet and imports an existing account from the application's environment. Keep the key in the application's secret store; never paste it into documentation, logs, or an agent conversation.
import os
from aleo import Aleo, HTTPProvider
aleo = Aleo(HTTPProvider("https://edge.provable.com/api", network="mainnet"))
account = aleo.account.from_private_key(os.environ["ALEO_PRIVATE_KEY"])
aleo.default_account = account
address = str(account.address)
print(address) # The public aleo1โฆ address used to receive funds.
For a new account, use aleo.account.create() instead of importing a key.
Retain the new account's private key securely before receiving funds; creating
another account later does not restore access to the first one.
The following synchronous examples continue this setup. Each submission example spends real funds on the configured network. Alternative proving methods are separate choices, not consecutive steps for the same transfer.
Check a public balance before deciding how much to send, leaving enough for any fee paid by the account. Public credits are visible on-chain; this balance does not include credits held in private records.
microcredits = aleo.get_balance(address)
print(aleo.from_microcredits(microcredits), "credits")
# 1,500,000 microcredits are 1.5 credits; an unfunded address returns 0.
Programs can also store public values in mappings, which associate a key with a
value. For example, the credits program's account mapping holds public credit
balances:
credits = aleo.programs.get("credits.aleo")
value = credits.mapping("account").get(address)
print(value) # The mapping value returned by the node.
Use integer microcredits for credit amounts: 1 credit = 1,000,000
microcredits. For conversion from display units, pass an exact decimal string,
such as aleo.to_microcredits("1.5"), instead of a floating-point amount.
A public transfer makes credits available at another Aleo address. The sender, recipient, and amount are public. Start by preparing the recipient and amount, inspect the intended operation, then choose how to prove and submit it.
A program call describes the operation to perform. Preparing it does not send funds. This example prepares a transfer of one credit to an illustrative public address; replace it with the intended recipient before submitting.
recipient = "aleo1rs6fdxg703s3em27uhxsehhfd8znaly22jt6upggrxc77q8d9yfq33pk28"
amount = 1_000_000 # One credit, in microcredits.
credits = aleo.programs.get("credits.aleo")
call = credits.functions.transfer_public(recipient, amount)
print(call.signature) # transfer_public(address, u64)
print(call.args) # Recipient address and amount encoded for the program.
authorization = call.simulate(account)
print(authorization.decoded()) # Inspect the authorized inputs and outputs.
Simulation signs an authorization locally without generating a proof or broadcasting a transaction. It does not reserve funds or guarantee that the network will accept the eventual transaction.
Other deployed programs use the same pattern: load the program with
aleo.programs.get("program_name.aleo"), then select a function through
program.functions. list(credits.functions) lists the available functions.
Every Aleo transaction needs a cryptographic proof. Delegated proving avoids
performing that computation on the application's machine. The proving service
receives the transaction contents, while the private key stays with the
application. By default, delegate requests that the service's fee-paying
account cover the transaction fee.
To submit the prepared transfer through delegated proving:
result = call.delegate(account) # Requests proving and broadcast by the service.
# Retain the service response and its transaction ID to check confirmation.
The default https://edge.provable.com/api service does not require API
credentials. Credentialed deployments, such as https://api.provable.com,
require their own API key and consumer ID.
For transaction contents that should stay out of the proving service, generate the proof locally instead. This uses the application's CPU and may download proving parameters. The account pays a public transaction fee by default.
Run this instead of the delegated submission above:
tx_id = call.transact(account) # Proves locally and broadcasts once.
print(tx_id) # Save this at1โฆ transaction ID before waiting for confirmation.
To inspect a proven transaction before broadcasting, use
call.build_transaction(account). Fee choices and private fee records are
covered under Account, privacy, and proving options.
Submission and confirmation are separate steps. Retain the transaction ID so monitoring can continue if the application closes or a request times out. This example continues the local submission above:
from aleo import TransactionConfirmationTimeout
try:
confirmed = aleo.network.wait_for_transaction(tx_id, timeout=60.0)
except TransactionConfirmationTimeout:
print("Still unconfirmed; check this transaction again:", tx_id)
else:
print("Confirmed:", tx_id)
Do not send the transfer again because monitoring timed out. Check the
existing transaction with aleo.network.get_confirmed_transaction(tx_id) or
continue waiting with the same ID. If the submission response was lost, inspect
account transaction history before trying another submission. Rejected
transactions can still incur fees.
Private credits are held in encrypted records, analogous to Bitcoin's UTXOs. A private transfer spends an unspent record and creates records for the recipient and any change. The input record must cover the amount being sent.
Use private transfers when balances and transfer details should not be publicly readable. Finding spendable records is a separate choice from proving a transaction: the default hosted scanner needs the account's view key, which lets that service decrypt its records. A view key cannot spend the funds.
The following example assumes the configured account already has a private credits record. It registers the account for scanning, selects a record covering one credit, and submits a private transfer through delegated proving:
registration = aleo.records.register(account) # Shares the view key with the scanner.
if not registration.get("ok"):
raise RuntimeError("Record scanner registration failed; no transfer was submitted.")
record = aleo.records.get_unspent_credits_record(min_microcredits=1_000_000)
if record is None:
raise RuntimeError("No suitable record found; check funds and scanner progress.")
credits = aleo.programs.get("credits.aleo")
private_call = credits.functions.transfer_private(record, recipient, 1_000_000)
result = private_call.delegate(account) # The prover can read this transaction's contents.
A missing record can mean that scanning has not caught up, that funds are already spent, or that no single record covers the amount. It does not establish that the account has no private funds.
To create a private balance from public credits, use
credits.functions.transfer_public_to_private(address, 1_000_000) and submit
with one of the proving methods above. Wait for confirmation and scanner
indexing before trying to spend the new record. The source public balance change
remains visible.
To avoid sharing a view key with the hosted scanner, supply an unspent record
already held by the application, or assign a custom RecordProvider to
aleo.record_provider. Choose local proving separately if transaction contents
must also stay out of the proving service.
A private balance is a set of records, and one transaction spends whole
records. A large payment needs one record that covers it; several payments
submitted at the same time need several records, one each. aleo.inventory
reads an asset's spendable records, plans the joins and splits that reach a
chosen layout, executes that plan one confirmed transaction at a time, and
keeps writers that share a journal from spending the same record.
Build the client with record management enabled and the two halves of a
write each do their part of the journal work, the way snarkVM separates
building a transaction from broadcasting it: build_transaction reserves the
call's record inputs before proving and saves the proved transaction, and
submit_transaction records the broadcast. transact is the two in sequence;
delegate does the same through the prover. A built transaction that was never
sent is released with result.discard(); once a broadcast has been attempted,
even one that timed out, the reservation stays until
reconcile_record_inventory() settles it. The example below reshapes the
account's private credits into four equal records of at least one credit each:
from aleo import Aleo, HTTPProvider
from aleo.inventory import InventoryTarget, RecordAsset, RecordManagementConfig
aleo = Aleo(HTTPProvider("https://edge.provable.com/api", network="testnet"),
record_management=RecordManagementConfig(enabled=True))
aleo.default_account = account
aleo.records.register(account) # The scanner can decrypt the account's records.
credits = RecordAsset("credits.aleo")
snapshot = aleo.inventory.get_record_inventory(credits)
print(snapshot.balance, len(snapshot.available), len(snapshot.reserved))
plan = aleo.inventory.plan_record_inventory(
credits, InventoryTarget(records=4, min_record_amount=1_000_000, distribution="balanced"))
print(plan.deduction) # Microcredits the native splits remove; network fees are separate.
result = aleo.inventory.rebalance_record_inventory(plan, max_fee_microcredits=1_000_000)
Planning reads the scanner and the deployed program and submits nothing.
Execution requires record management to be enabled. Each step reserves its
inputs, proves, broadcasts, waits for confirmation, and waits until the scanner
shows the exact outputs before the next step spends them. No accepted step is
rolled back. An interrupted result names the reason and every submitted
transaction. After an interruption, reconcile, rescan, and plan again; the old
plan describes records that the completed steps have already spent.
More than two records join through deployed helper programs in one
transaction where one exists (up to 16 credits or dedicated stablecoin records,
15 for other ARC-20 and ARC-22 tokens). join_records, split_record, and
auto_join perform single operations without a plan.
The journal is kept by a store chosen with RecordManagementConfig(store=...).
Three ship with the SDK; the choice decides what survives a restart and which
processes coordinate.
| Store | Survives a restart | Coordinates | Choose it when |
|---|---|---|---|
MemoryRecordInventoryStore (default) |
No | Threads in one process | A script runs to completion and nothing else trades for the account. |
JsonFileRecordInventoryStore(path) |
Yes | Processes on one machine | The journal should be readable in an editor; one JSON file under a file lock. |
SqliteRecordInventoryStore(path) |
Yes | Processes on one machine | A long-running service, or a journal shared with a Veil client; same layout as Veil's store. |
Both file-backed stores release a reservation left by an SDK process on the
same machine that exited before it proved anything; an entry a Veil wallet
client wrote is kept, since the wallet may have broadcast before its answer
arrived. Any object with list,
acquire, and update methods works as a store for other backends, such as a
database shared across machines; acquire must reserve all of an entry's
records or none. After an interruption, reconcile_record_inventory() checks
each pending entry against the chain and, with rebroadcast=True, resubmits a
saved proved transaction with its original id. A write that finds its record
already reserved raises RecordReservationConflictError before any proof is
built, so the caller can choose another record.
ProvableHQ/python-sdk is a public repo on GitHub by ProvableHQ. Its maker has not written a description.
It declares the GPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-20. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run python-sdk. What is known comes from GitHub. It declares the GPL-3.0 license on GitHub. Its last change was on 2026-11-20. It has 44 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.