# Manage Starknet Agent Wallets

AI agents need reliable Starknet wallet workflows for balances, payments, and contract actions. This skill provides structured operations with account abstraction, optional paymasters, and session-key guidance.

## Install

```bash
npx skillstore add internet-court/starknet-wallet
```

## Metadata

- Status: approved
- Slug: internet-court-starknet-wallet
- Version: 1.0.0
- Author version: 1.0.0
- Skillstore revision: r2
- Version status: not\_bumped
- Tree hash: d7d4febe8645f5324e966eb464cc5d9f215e0e328010ce64e137d7680d61d99b
- Author: internet-court
- GitHub username: internet-court
- License: Apache-2.0
- Repository: https://github.com/internet-court/internet-court-skill/tree/main/vendored/starknet/starknet-wallet
- Ref: 1c2ebded2116f8124f45dba86a2e567f56e64d8e
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: env\_access, external\_commands, network, filesystem
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/internet-court-starknet-wallet
- Manifest: https://skillstore.pages.dev/api/skills/internet-court-starknet-wallet/manifest

## Capabilities

- Check one or many Starknet token balances.
- Transfer ETH, STRK, USDC, USDT, or resolved token addresses.
- Read contract state and submit state-changing contract calls.
- Execute token swaps through the avnu integration.
- Configure gasless transactions and token-based fee payment.
- Explain session-key policies for bounded agent autonomy.

## Use Cases

- Agent Payment Operations: Give a payment agent repeatable balance checks and token transfer workflows with explicit recipient, token, and amount parameters.
- Wallet Monitoring: Build portfolio checks that query several Starknet tokens and report formatted balances through the provided scripts or MCP tools.
- Bounded On-Chain Automation: Plan contract calls, swaps, and session-key policies with spending limits, allowed contracts, expiry, and revocation controls.

## Prompt Templates

### Check One Balance

```
Check the ETH balance for wallet 0x... on my configured Starknet network. Return the token address, formatted balance, raw balance, and decimals.
```

### Review a Transfer

```
Prepare a STRK transfer of 10 tokens to 0x.... First list the required checks, recipient, network, estimated fee, and approval points. Do not submit it yet.
```

### Compare Portfolio Methods

```
Explain whether to use the single-token or multi-token balance workflow for ETH, STRK, USDC, and USDT. Include tradeoffs and expected response fields.
```

### Design Session-Key Controls

```
Design a session-key policy for an agent that can call one approved contract, spend at most a defined amount per day, expires tomorrow, and can be revoked. Identify remaining risks.
```

## Limitations

- It does not audit Cairo contracts or prove transaction safety.
- It requires a trusted Starknet RPC endpoint and correctly configured credentials.
- It cannot reverse confirmed blockchain transactions.
- Session-key limits and revocation depend on the deployed account system.

## Best Practices

- Use a dedicated wallet with minimal funds for agent automation.
- Verify network, recipient, token address, calldata, and fee payer before submission.
- Store signing credentials in a managed secret system and rotate them when exposure is suspected.

## Anti Patterns

- Do not place private keys in source files, prompts, logs, or shared environment dumps.
- Do not allow unrestricted contract calls or unlimited spending for an autonomous agent.
- Do not treat a quoted swap price, gasless option, or successful simulation as a final safety guarantee.

## Security Audit

- Audited at: 2026-08-07T09:11:17.173\+00:00
- Summary: Most static findings are false positives caused by documentation links, Markdown or TypeScript template literals, and standard configuration reads. Private signing-key and paymaster-key handling are confirmed high-risk credential practices, and the skill also enables autonomous asset operations through transfers, contract calls, swaps, and session keys.

## Stats

- Views: 0
- Downloads: 7
- Favorites: 1
- Popularity score: 0
