---
title: "Robinhood Chainでミームコインをローンチする"
description: "FoundryとAlchemy RPCを使ってRobinhood Chainメインネットに固定供給のERC20を書いてデプロイする、またはAlchemy CLIでローンチ全体をコーディングエージェントに任せる。"
---

# Robinhood Chainでミームコインをローンチする

<ImageBlock
  src="https://media.alchemy.com/blog/launch-a-memecoin-on-robinhood-chain-hero.png"
  alt="Robinhood Chainでミームコインをローンチする"
  width={1920}
  height={900}
/>

Robinhoodはトークン化株式向けにこのチェーンを構築したが、デプロイはパーミッションレスなので、誰でも好きなものをこの上に出荷できる。メインネットは2026年7月1日にローンチし、2週間以内に[このチェーンのDEXボリュームは約20万ドルから5億ドル超に急増した](https://defillama.com/chain/robinhood-chain)。牽引したのはCASHCATのようなミームトークンだ。

ミームコインとは、物語を持ったERC20コントラクトのことだ。コントラクト自体は簡単な方の半分であり、Robinhood Chain上でも他のEVMチェーンと全く同じように動く。Foundryを使えば約20分で自分でデプロイできるし、この一連の流れをまるごとコーディングエージェントに任せることもできる。両方の方法を以下に示す。Alchemy CLIでシェルコマンドを実行できるどんなエージェントにもローンチを操作させられる、コピペ用プロンプトも含む。

## Robinhood Chainとは何か

[Robinhood](https://www.alchemy.com/rpc/robinhood) ChainはArbitrum Orbitスタック上に構築されたEthereumレイヤー2で、Robinhoodが運営し、トークン化された実世界資産向けに設計されている。Ethereumにセトルメントし、ガスにはETHを使い、[chain ID 4663](https://robinhood.com/us/en/support/articles/robinhood-chain-mainnet/)で動作する。完全にEVM互換であり、デプロイはパーミッションレスだ。

[Robinhood Chainのメインネットは Alchemy上で稼働している](https://www.alchemy.com/blog/robinhood-chain-mainnet-is-live-on-alchemy)。[RPC](https://www.alchemy.com/rpc-api)とWebSockets、[webhooks](https://www.alchemy.com/webhooks)、[gas sponsorship](https://www.alchemy.com/gasless-transactions)、[Data API](https://www.alchemy.com/docs/data)が使える。エンドポイントはRobinhood Chainページに掲載されている。

これまでにEthereum、Arbitrum、Baseへのデプロイ経験があれば、ここに驚くようなことは何もない。ツールも同じ、バイトコードも同じ、違うのはchain IDだけだ。

## トークンをどうデプロイするか

チェーンに何かが触れる前に、3つのものが必要になる。

- **資金の入ったウォレット。** ガスはETHで支払う
- **トークンコントラクト。** ミームコインなら、最小限の固定供給ERC20が標準的な形だ。[SolidityにおけるERC-20標準のガイド](https://www.alchemy.com/overviews/erc20-solidity)で各関数の役割を解説している。
- **RPCエンドポイント。** [ダッシュボード](https://dashboard.alchemy.com/)で無料アプリを作成し、Robinhood Chainを選択する。[Robinhood Chain APIクイックスタート](https://www.alchemy.com/docs/reference/robinhood-chain-api-quickstart)で最初の呼び出しを解説している。

コントラクト自体は短い。供給量は固定、mint関数なし、ownerなしなので、後からrugされる余地がない。

<CodeSnippet
  language="solidity"
  code={`// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Bagel is ERC20 {
    constructor() ERC20("Bagel", "BAGEL") {
        _mint(msg.sender, 1_000_000_000 * 10 ** decimals());
    }
}`}
/>

このコントラクトを`src/Bagel.sol`として保存し（`forge init`は後で削除できる`Counter.sol`をスキャフォールドする）、Foundryでデプロイする。

<CodeSnippet
  language="bash"
  code={`forge init bagel && cd bagel
forge install OpenZeppelin/openzeppelin-contracts
# paste the contract above into src/Bagel.sol, then import your deployer key once
cast wallet import deployer --interactive
forge create src/Bagel.sol:Bagel \\
  --rpc-url https://robinhood-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY \\
  --account deployer \\
  --broadcast`}
/>

最後のコマンドでコントラクトがメインネット上でライブになる。`cast wallet import`は鍵を暗号化されたkeystoreに保存し、`--account`はデプロイ時にパスワードでそれを解錠する。これにより生の鍵をシェル履歴やプロセスリストから隠せる。チェーンチームによる版が欲しければ、Robinhoodも独自の[Foundryデプロイチュートリアル](https://docs.robinhood.com/chain/deploy-smart-contracts)を公開している。

## デプロイ後には何が起こるか

デプロイされただけのコントラクトは、誰も買えないトークンだ。ローンチが実際のものになるのは、すでにこのチェーン上で稼働しているDEXのどれかに流動性プールをシードし、供給の配布を始めたときだ。ここは買い手があなたを判断する場所でもある。経験豊富なミームコイントレーダーは、トークンに触れる前に、供給が固定されているか、流動性がロックされているか、デプロイヤーのウォレットがどれだけ保有しているかを確認する。

## エージェントにコインをローンチさせられるか

上記のステップはすべてスクリプト化可能であり、コーディングエージェントにとって自然な仕事になる。[Alchemy CLI](https://www.alchemy.com/agents)はまさにこのために作られた。すべてのコマンドが`--json --no-interactive`を受け取るのでエージェントが出力をパースでき、[agent wallets](https://www.alchemy.com/blog/agent-wallets-alchemy-cli)は生のプライベートキーの代わりに署名用のスコープ付きセッションを与える。これはシェルコマンドを実行できるどんなエージェントでも動く。Claude Code、Cursor、OpenAIベースのエージェント、自作スクリプトでも構わない。Claude Codeユーザーには近道がある。[Alchemyプラグイン](https://www.alchemy.com/blog/alchemy-claude-plugin-now-live)がCLIのskillsとMCPサーバーを1コマンドでインストールする。

役割分担について正直に一言。CLIにはdeployコマンドがないため、エージェントはあなたのAlchemyエンドポイントに対してFoundry経由でデプロイを実行し、それ以外のすべて（残高確認、レシート取得、コントラクトの読み戻し、トークンの移動）にはCLIを使う。この2つの半分は署名方法が異なり、それが重要だ。コントラクト作成はあなたのFoundry keystoreアカウントを通じて行われる一方、CLIのステップはagent walletのセッションで署名する。プロンプトを渡す前にkeystoreをセットアップしておかないと、エージェントはデプロイのステップに到達しても使える鍵がない状態になる。

`npm i -g @alchemy/cli`でCLIをインストールし、以下のプロンプトをエージェントに渡す。Solidityを1行も書く前に、トークンの詳細についてあなたに質問してくる。

<CodeSnippet
  language="text"
  code={`You have the Alchemy CLI and Foundry installed. Run \`alchemy --json --no-interactive agent-prompt\` first to load the CLI's command contract, then launch a memecoin for me on Robinhood Chain mainnet.

Start by asking me for:

- The token name and ticker symbol
- The total supply
- A logo image, and wait for me to upload the file before continuing

Do not invent any of these. Wait for my answers, then confirm them back to me before you write any code.

Once I have confirmed:

- Check that robinhood-mainnet is available with \`alchemy evm network list\`.
- Check my wallet with \`alchemy wallet status\`, then check its ETH balance on robinhood-mainnet with \`alchemy evm data balance\`. If it cannot cover gas, stop and tell me how much to fund.
- Write a fixed-supply ERC20 using the name, symbol, and supply I gave you, with no mint function and no owner, and deploy it with \`forge create\` against my Alchemy robinhood-mainnet endpoint, signing with my Foundry keystore account via \`--account\`. Never pass a raw private key on the command line. If no keystore account exists, stop and tell me to run \`cast wallet import\` first.
- Verify the launch: pull the receipt with \`alchemy evm receipt\`, then read the name, symbol, and total supply back with \`alchemy evm contract read\`.
- Ask me which wallet gets the first distribution, then send 1% of supply with \`alchemy evm send --token <address>\` using \`--dry-run\` first. Show me the preview and wait for my approval before the real send.

The logo never goes onchain. Keep the file path and hand it back to me for the block explorer and token list submissions once the contract is live.

Ask before every transaction that spends funds.`}
/>

CLIとFoundryが実際の作業をすべて行うため、このプロンプトの内容は特定のエージェント製品に依存しない。エージェントをウォレットやオンチェーンデータに接続するより深いパターンについては、[オンチェーンエージェントの構築ガイド](https://www.alchemy.com/blog/how-to-build-onchain-agents)を参照してほしい。

このプロンプトは、すべての不可逆的なアクションをあなたの承認の後ろに置いている。エージェントがメインネット上で資金の入ったウォレットを保持している場合、そのドライラン後承認というゲートが、プレビューと実際のトランザクションとの違いを分ける。

## Robinhood Chainでの開発を始める

Robinhood Chainのエンドポイントは無料ティアで稼働している。[ダッシュボード](https://dashboard.alchemy.com)でアプリを作成し、Robinhood Chainを選択すれば、初日からメインネットのエンドポイントが手に入る。契約もウェイトリストも最低利用条件もない。エージェント経由の方法を取るなら、[Alchemy CLI](https://www.alchemy.com/agents)がインストールから署名済みメインネットトランザクションまでを数分で完了させる。

Robinhoodは株式向けにこのチェーンを構築した。最初の2週間は、人々が何をデプロイしようとそれを実行するチェーンになることを示した。
