Transactions
create-pure-proxy
Create a pure proxy: a fresh keyless account controlled via delegation.
The chain derives a new address from the signer, proxy_type, index,
and the creation block. Nobody holds its private key — the spawner controls
it purely through the proxy relationship, which makes it useful as a
disposable or role-scoped account (e.g. a Staking-only treasury). Record the
creation block and extrinsic index (shown in the result): kill_pure_proxy
needs them to close the account later. Losing the spawner key means losing
the pure proxy and anything it holds.
| Signer | Pallet | Wraps |
|---|---|---|
coldkey | Proxy | Proxy.create_pure |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
proxy_type | string | no | Scope of calls the delegation covers. One of: Any, Owner, NonCritical, NonTransfer, Senate, NonFungible, Triumvirate, Governance, Staking, Registration, Transfer, SmallTransfer, RootWeights, ChildKeys, SudoUncheckedSetCode, SwapHotkey, SubnetLeaseBeneficiary, RootClaim. Triumvirate, Senate, Governance, and RootWeights are deprecated on the current runtime: they deny all calls, so a proxy of those types can dispatch nothing. Prefer the narrowest type that covers your use; Any can do everything the account can, including transfers. |
delay | integer | no | Announcement delay in blocks: the delegate must announce each call and wait this long before executing it, giving you time to veto. 0 executes immediately. |
index | integer | no | Disambiguator so one signer can create several pure proxies in one block; also part of the derived address. Keep 0 unless batching. |
Address parameters (--hotkey, --coldkey, --dest, ...) accept a raw ss58
address, an address-book or proxy-book name, or a local wallet/hotkey name.
CLI
Preview with --dry-run (shows fee, effects, and policy result without
submitting), then submit:
btcli tx create-pure-proxy --dry-run
btcli tx create-pure-proxy -w my_coldkeyPython
import bittensor as sub
from bittensor.wallet import Wallet
wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.CreatePureProxy()
async with sub.Client("finney") as client:
plan = await client.plan(intent, wallet) # fee, effects, policy — no submission
result = await client.execute(intent, wallet)
if not result.success:
print(result.error.code, result.error.remediation)Or build it by op name, as an agent would:
await client.execute_tool("create_pure_proxy", {...}, wallet)