---
title: "Python開発者のためのイーサリアム"
description: "Pythonベースのプロジェクトやツールを使用してイーサリアム向けに開発する方法を学びます"
lang: ja
incomplete: true
---

<FeaturedText>Pythonベースのプロジェクトやツールを使用してイーサリアム向けに開発する方法を学びます</FeaturedText>

イーサリアムを使用して、暗号資産とブロックチェーン技術の利点を活用した分散型アプリケーション (dapp) を作成します。これらのdappは信頼性が高く、一度イーサリアムにデプロイされると、常にプログラムされた通りに実行されます。デジタル資産を制御して、新しい種類の金融アプリケーションを作成できます。また、分散型であるため、単一の組織や個人が制御することはなく、検閲することはほぼ不可能です。

## スマート・コントラクトとSolidity言語の基礎 {#getting-started-with-smart-contracts-and-solidity}

**Pythonとイーサリアムを統合するための第一歩を踏み出しましょう**

まずはより基本的な入門書が必要ですか？ [ethereum.org/learn](/learn/) または [ethereum.org/developers](/developers/) を確認してください。

- [ブロックチェーンの解説](https://kauri.io/article/d55684513211466da7f8cc03987607d5/blockchain-explained)
- [スマート・コントラクトの理解](https://kauri.io/article/e4f66c6079e74a4a9b532148d3158188/ethereum-101-part-5-the-smart-contract)
- [初めてのスマート・コントラクトを作成する](https://kauri.io/article/124b7db1d0cf4f47b414f8b13c9d66e2/remix-ide-your-first-smart-contract)
- [Solidityのコンパイルとデプロイ方法を学ぶ](https://kauri.io/article/973c5f54c4434bb1b0160cff8c695369/understanding-smart-contract-compilation-and-deployment)
- [2023年版ブロックチェーンにおけるPythonの現状レポート](https://tradingstrategy.ai/blog/the-state-of-python-in-blockchain-in-2023)

## 初心者向け記事 {#beginner-articles}

- [Web3.pyの概要](https://web3py.readthedocs.io/en/latest/overview.html)
- [イーサリアムのPythonエコシステムツアー](https://snakecharmers.ethereum.org/python-ecosystem/)
- [(Python) 開発者のためのイーサリアムガイド](https://snakecharmers.ethereum.org/a-developers-guide-to-ethereum-pt-1/)
- [賞を狙える: イーサリアムPythonハッカソンガイド](https://snakecharmers.ethereum.org/prize-worthy/)
- [Vyperを使ったスマート・コントラクト入門](https://kauri.io/#collections/Getting%20Started/an-introduction-to-smart-contracts-with-vyper/)
- [Python Flaskを使用してイーサリアムのコントラクトを開発するには？](https://medium.com/coinmonks/how-to-develop-ethereum-contract-using-python-flask-9758fe65976e)
- [Web3.py入門 · Python開発者のためのイーサリアム](https://www.dappuniversity.com/articles/web3-py-intro)
- [PythonとWeb3.pyを使用してスマート・コントラクトの関数を呼び出す方法](https://stackoverflow.com/questions/57580702/how-to-call-a-smart-contract-function-using-python-and-web3-py)

## 中級者向け記事 {#intermediate-articles}

- [Web3.pyの仲間たち: Ape入門](https://snakecharmers.ethereum.org/intro-to-ape/)
- [Pythonプログラマーのためのdapp開発](https://www.youtube.com/watch?v=tE-8bG35VNw)
- [Pythonイーサリアムインターフェースの作成: パート1](https://hackernoon.com/creating-a-python-ethereum-interface-part-1-4d2e47ea0f4d)
- [Pythonでのイーサリアムスマート・コントラクト: (ほぼ)完全ガイド](https://hackernoon.com/ethereum-smart-contracts-in-python-a-comprehensive-ish-guide-771b03990988)

## 高度な使用パターン {#advanced-use-patterns}

- [Web3.pyのパターン: リアルタイムイベントのサブスクリプション](https://snakecharmers.ethereum.org/subscriptions/)
- [Web3.pyのパターン: WebSocketProvider](https://snakecharmers.ethereum.org/websocketprovider/)
- [Pythonを使用したイーサリアムスマート・コントラクトのコンパイル、デプロイ、呼び出し](https://yohanes.gultom.id/2018/11/28/compiling-deploying-and-calling-ethereum-smartcontract-using-python/)
- [スリザーを使用したSolidityスマート・コントラクトの分析](https://kauri.io/#collections/DevOps/analyze-solidity-smart-contracts-with-slither/#analyze-solidity-smart-contracts-with-slither)
- [ブロックチェーンフィンテックチュートリアル: Pythonを使ったレンディングと借り入れ](https://blog.chain.link/blockchain-fintech-defi-tutorial-lending-borrowing-python/)

## アーカイブされた記事 {#archived-articles}

- [PythonとBrownieを使用して独自のERC-20トークンをデプロイする](https://betterprogramming.pub/python-blockchain-token-deployment-tutorial-create-an-erc20-77a5fd2e1a58)
- [BrownieとPythonを使用したスマート・コントラクトのデプロイ](https://dev.to/patrickalphac/using-brownie-for-to-deploy-smart-contracts-1kkp)
- [Brownieを使用してオープンシーでNFTを作成する](https://www.freecodecamp.org/news/how-to-make-an-nft-and-render-on-opensea-marketplace/)

## Pythonのプロジェクトとツール {#python-projects-and-tools}

- [Web3.py](https://github.com/ethereum/web3.py) - _イーサリアムと対話するためのPythonライブラリ_
- [Vyper](https://github.com/ethereum/vyper/) - _EVM向けのPython風スマート・コントラクト言語_
- [Titanoboa](https://github.com/vyperlang/titanoboa/) - _Vyperのネイティブテストツール。メインネットのフォーク、デバッグ、見やすいトレースバックを備えたインタープリタ_
- [Moccasin](https://github.com/Cyfrin/moccasin) - _Titanoboa上に構築された、VyperとPythonのためのスマート・コントラクト開発およびテストフレームワーク_
- [Ape](https://github.com/ApeWorX/ape) - _Pythonista、データサイエンティスト、セキュリティ専門家のためのスマート・コントラクト開発ツール_
- [py-evm](https://github.com/ethereum/py-evm) - _イーサリアム仮想マシン (EVM) の実装_
- [eth-tester](https://github.com/ethereum/eth-tester) - _イーサリアムベースのアプリケーションをテストするためのツール_
- [eth-utils](https://github.com/ethereum/eth-utils/) - _イーサリアム関連のコードベースを扱うためのユーティリティ関数_
- [py-solc-x](https://pypi.org/project/py-solc-x/) - _0.5.xをサポートするsolc SolidityコンパイラのPythonラッパー_
- [pymaker](https://github.com/makerdao/pymaker) - _Makerコントラクト用のPython API_
- [siwe](https://github.com/signinwithethereum/siwe-py) - _Python向けのSign in with Ethereum (SIWE)_
- [Web3 DeFi for Ethereum integrations](https://github.com/tradingstrategy-ai/web3-ethereum-defi) - _ERC-20、ユニスワップ、その他の人気プロジェクトとのすぐに使える統合を備えたPythonパッケージ_
- [Wake](https://getwake.io) - _コントラクトのテスト、ファジング、デプロイ、脆弱性スキャン、コードナビゲーションのためのオールインワンPythonフレームワーク (言語サーバー - [Tools for Solidity](https://marketplace.visualstudio.com/items?itemName=AckeeBlockchain.tools-for-solidity))_
- [DeFiPy](https://github.com/defipy-devs/defipy) - _ユニスワップV2/V3、Balancer、Curveにわたる分散型金融 (DeFi) 分析と自動マーケットメーカー (AMM) シミュレーションのためのPython SDK_
### アーカイブ済み / メンテナンス終了: {#archived--no-longer-maintained}

- [Trinity](https://github.com/ethereum/trinity) - _イーサリアムのPythonクライアント_
- [Mamba](https://github.com/arjunaskykok/mamba) - _Vyper言語で書かれたスマート・コントラクトを記述、コンパイル、デプロイするためのフレームワーク_
- [Brownie](https://github.com/eth-brownie/brownie) - _イーサリアムスマート・コントラクトのデプロイ、テスト、対話のためのPythonフレームワーク_
- [pydevp2p](https://github.com/ethereum/pydevp2p) - _イーサリアムP2Pスタックの実装_
- [py-wasm](https://github.com/ethereum/py-wasm) - _WebAssemblyインタープリタのPython実装_

さらにリソースをお探しですか？ [ethereum.org/developers](/developers/) を確認してください。

## Pythonツールを使用しているプロジェクト {#projects-using-python-tooling}

以下のイーサリアムベースのプロジェクトは、このページで言及されているツールを使用しています。関連するオープンソースリポジトリは、サンプルコードやベストプラクティスの良い参考になります。

- [Yearn Finance](https://yearn.finance/) と [Yearnヴォールトコントラクトのリポジトリ](https://github.com/yearn/yearn-vaults)
- [Curve](https://www.curve.finance/) と [Curveスマート・コントラクトのリポジトリ](https://github.com/curvefi/curve-contract)
- [BadgerDAO](https://badger.com/) と [Brownieツールチェーンを使用したスマート・コントラクト](https://github.com/Badger-Finance/badger-system)
- [Sushi](https://sushi.com/) は [ベスティングコントラクトの管理とデプロイにPythonを使用しています](https://github.com/sushiswap/sushi-vesting-protocols)
- Alpha Homoraで有名な [Alpha Finance](https://alphaventuredao.io/) は、[スマート・コントラクトのテストとデプロイにBrownieを使用しています](https://github.com/AlphaFinanceLab/alpha-staking-contract)

## Pythonコミュニティのディスカッション {#python-community-contributors}

- Web3.pyやその他のPythonフレームワークに関するディスカッションのための [イーサリアムPythonコミュニティのディスコード](https://discord.gg/9zk7snTfWe)
- Vyperスマート・コントラクトプログラミングに関するディスカッションのための [Vyperのディスコード](https://discord.gg/SdvKC79cJk)

## その他のまとめリスト {#other-aggregated-lists}

VyperのWikiには、[Vyperに関する素晴らしいリソースのリスト](https://github.com/vyperlang/vyper/wiki/Vyper-tools-and-resources) があります。
