Tsukumogami

Tsukumogami
Python → Smart Contracts

Write type-hinted Python. Generate auditable, deterministic on-chain code. Deploy to any blockchain.

CA
CJ7Yu47p6J3psMEb2piJYg1p77QZPkCL3gYES2rRpump

Write Once, Deploy Anywhere

Python logic transforms into chain-native, production-ready code.

Input — Python
vault.pypython
1
2
3
4
5
6
7
8
9
10
11
12
13
class="syntax-decorator">@contract
class Vault:
owner: Address
balances: Mapping[Address, Uint256]
class="syntax-decorator">@entry
def deposit(self, amount: Uint256) -> None:
assert amount > 0
self.balances[msg.sender] += amount
class="syntax-decorator">@view
def get_balance(self, account: Address) -> Uint256:
return self.balances[account]
Output — Solidity
Vault.solsolidity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
contract Vault {
address public owner;
mapping(address => uint256) public balances;
function deposit(uint256 amount) external {
require(amount > 0);
balances[msg.sender] += amount;
}
function getBalance(address account)
external view returns (uint256) {
return balances[account];
}
}

Built for Production

Tsukumogami is infrastructure, not a toy. Every design decision prioritizes safety and auditability.

Deterministic by Construction

No recursion, bounded loops, no floating-point. If it compiles, it behaves predictably on-chain.

Audit-Friendly Output

Generated code is readable, idiomatic, and follows best practices for each target chain.

Multi-Chain Backends

Single Python source compiles to Solana (Anchor), EVM (Solidity), or Move with consistent semantics.

Safety Guarantees

Enforced at compile time. No runtime surprises.

No recursion — stack-safe execution
Bounded loops — gas-predictable
No floats — precise arithmetic
Type-safe — mandatory annotations

Supported Target Chains

Solana
Anchor Rust
Ethereum
Solidity
Aptos
Move
Sui
Move

Ready to write on-chain logic in Python?

Open the Studio and transpile your first contract in seconds.