Skip to content

Commit 63001af

Browse files
TEB1157claude
andcommitted
fix: update constants and faucet URL for v0.2.1
- ACCOUNT_CREATION_UNITS: 100 → 500 (matches chain's 5 Z fee) - TX_SIZE: 100 → 136 (full 64-byte Ed25519 signature) - TESTNET_FAUCET: raw IP → https://rpc.zzero.net (HTTPS proxy) - Bumped to v0.2.1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a7c66b1 commit 63001af

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "zero-network"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Python SDK for the Zero Network — stablecoin microtransactions for AI agents"
55
readme = "README.md"
66
license = "MIT"

zero_network/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from .transaction import Transfer, build_transfer, parse_transfer, sign_transfer
4141
from .wallet import Wallet
4242

43-
__version__ = "0.2.0"
43+
__version__ = "0.2.1"
4444

4545
__all__ = [
4646
# Core

zero_network/constants.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
# Maximum transfer: 25 Z = 2500 units
1313
MAX_TRANSFER_UNITS: int = 2500
1414

15-
# Account creation cost: 1.00 Z = 100 units (deducted on first receive)
16-
ACCOUNT_CREATION_UNITS: int = 100
15+
# Account creation cost: 5.00 Z = 500 units (deducted on first receive)
16+
ACCOUNT_CREATION_UNITS: int = 500
1717

18-
# Transaction size in bytes: from[32] + to[32] + amount[4] + nonce[4] + signature[28]
19-
TX_SIZE: int = 100
18+
# Transaction size in bytes: from[32] + to[32] + amount[4] + nonce[4] + signature[64]
19+
TX_SIZE: int = 136
2020

2121
# Default RPC endpoint
2222
DEFAULT_RPC: str = "https://rpc.zzero.net"
2323

2424
# Testnet faucet endpoint
25-
TESTNET_FAUCET: str = "http://157.180.56.48:8093"
25+
TESTNET_FAUCET: str = "https://rpc.zzero.net"

0 commit comments

Comments
 (0)