# Toronet Smart Contract Deployment

> Deploy Solidity smart contracts to ToroNet using toronetdeploy. Use when the user wants ToroNet deployment commands, help configuring owner and constructor args, guidance on network selection, mainnet token requirements, or Foundry remappings needed before deployment.

- **Type:** Skill
- **Install:** `agentstack add skill-toronet-guidl-toronet-agent-skills-toronet-smart-contract-deployment`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [toronet-guidl](https://agentstack.voostack.com/s/toronet-guidl)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [toronet-guidl](https://github.com/toronet-guidl)
- **Source:** https://github.com/toronet-guidl/toronet-agent-skills/tree/main/skills/toronet-smart-contract-deployment

## Install

```sh
agentstack add skill-toronet-guidl-toronet-agent-skills-toronet-smart-contract-deployment
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# toronet-smart-contract-deployment

## When to use

Use this skill when the user wants to:

- deploy a Solidity contract to ToroNet
- get the correct `toronetdeploy` command or library usage
- pass `--owner`, `--args`, or `--network`
- deploy from a Foundry project and configure remappings
- understand when `--token` is required
- troubleshoot ToroNet-specific deployment issues

Do not use this skill for writing the contract itself, frontend integration, or general SDK usage unless directly required to complete a ToroNet deployment task.

## Instructions

1. Treat `toronetdeploy` as the default ToroNet deployment path and support both CLI (`npx toronetdeploy`) and library usage (`deployContract`).
2. For CLI usage, make sure the user provides the Solidity file path, contract name, owner address, constructor arguments if needed, and target network.
3. For library usage, use the same fields as options and show CommonJS or ESM imports when requested.
4. Default the network to `testnet` unless the user explicitly asks for mainnet.
5. If the user is deploying to mainnet, mention that `--token` is required and is obtained from the ToroNet team.
6. If the contract comes from a Foundry project, make sure imports and remappings are properly configured in `foundry.toml` before deployment.
7. Prefer copyable commands or code samples.
8. If the user provides incomplete deployment details, preserve the ToroNet deployment pattern and show a realistic template with placeholders.
9. Keep the answer focused on deployment unless the user explicitly asks for contract design or integration help.

## Default workflow

1. Identify the contract file and contract name.
2. Confirm the owner address.
3. Determine whether constructor arguments are required and the target network.
4. Determine whether the user wants CLI or library usage.
5. Check whether the contract comes from a Foundry project; if so, remind the user to verify remappings in `foundry.toml`.
6. Produce the correct `toronetdeploy` command or `deployContract` usage and add only the ToroNet-specific notes needed for successful deployment.

## Checks

- file path and contract name are correct
- owner address is present
- constructor args are correctly formatted
- network is set correctly
- mainnet deployment includes `--token`
- Foundry imports/remappings are configured before deployment

See [the reference guide](references/REFERENCE.md) for the deployment workflow, command patterns, common checks, and ToroNet-specific deployment notes.

If the user is deploying from a Foundry project, also review:
assets/foundry.toml.example

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [toronet-guidl](https://github.com/toronet-guidl)
- **Source:** [toronet-guidl/toronet-agent-skills](https://github.com/toronet-guidl/toronet-agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-toronet-guidl-toronet-agent-skills-toronet-smart-contract-deployment
- Seller: https://agentstack.voostack.com/s/toronet-guidl
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
