Skip to content

Instantly share code, notes, and snippets.

@JAC-02
Created September 4, 2022 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JAC-02/e5f585b801d95f48858c209d1d31d0a1 to your computer and use it in GitHub Desktop.
Save JAC-02/e5f585b801d95f48858c209d1d31d0a1 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Cn-IIRJ4TjUs",
"outputId": "8dc01c5f-096a-4854-8047-2ffaa0349062"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
"Requirement already satisfied: eth_tester in /usr/local/lib/python3.7/dist-packages (0.7.0b1)\n",
"Requirement already satisfied: eth-abi<4.0.0,>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from eth_tester) (3.0.1)\n",
"Requirement already satisfied: eth-keys<0.5.0,>=0.4.0 in /usr/local/lib/python3.7/dist-packages (from eth_tester) (0.4.0)\n",
"Requirement already satisfied: eth-account<0.8.0,>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from eth_tester) (0.7.0)\n",
"Requirement already satisfied: semantic-version<3.0.0,>=2.6.0 in /usr/local/lib/python3.7/dist-packages (from eth_tester) (2.10.0)\n",
"Requirement already satisfied: rlp<4,>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from eth_tester) (3.0.0)\n",
"Requirement already satisfied: eth-utils<3.0.0,>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from eth_tester) (2.0.0)\n",
"Requirement already satisfied: eth-typing<4.0.0,>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from eth-abi<4.0.0,>=3.0.0->eth_tester) (3.1.0)\n",
"Requirement already satisfied: parsimonious<0.9.0,>=0.8.0 in /usr/local/lib/python3.7/dist-packages (from eth-abi<4.0.0,>=3.0.0->eth_tester) (0.8.1)\n",
"Requirement already satisfied: hexbytes<1,>=0.1.0 in /usr/local/lib/python3.7/dist-packages (from eth-account<0.8.0,>=0.6.0->eth_tester) (0.3.0)\n",
"Requirement already satisfied: bitarray<3,>=2.4.0 in /usr/local/lib/python3.7/dist-packages (from eth-account<0.8.0,>=0.6.0->eth_tester) (2.6.0)\n",
"Requirement already satisfied: eth-rlp<1,>=0.3.0 in /usr/local/lib/python3.7/dist-packages (from eth-account<0.8.0,>=0.6.0->eth_tester) (0.3.0)\n",
"Requirement already satisfied: eth-keyfile<0.7.0,>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from eth-account<0.8.0,>=0.6.0->eth_tester) (0.6.0)\n",
"Requirement already satisfied: pycryptodome<4,>=3.6.6 in /usr/local/lib/python3.7/dist-packages (from eth-keyfile<0.7.0,>=0.6.0->eth-account<0.8.0,>=0.6.0->eth_tester) (3.15.0)\n",
"Requirement already satisfied: eth-hash<0.4.0,>=0.3.1 in /usr/local/lib/python3.7/dist-packages (from eth-utils<3.0.0,>=2.0.0->eth_tester) (0.3.3)\n",
"Requirement already satisfied: cytoolz<1.0.0,>=0.10.1 in /usr/local/lib/python3.7/dist-packages (from eth-utils<3.0.0,>=2.0.0->eth_tester) (0.12.0)\n",
"Requirement already satisfied: toolz>=0.8.0 in /usr/local/lib/python3.7/dist-packages (from cytoolz<1.0.0,>=0.10.1->eth-utils<3.0.0,>=2.0.0->eth_tester) (0.12.0)\n",
"Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.7/dist-packages (from parsimonious<0.9.0,>=0.8.0->eth-abi<4.0.0,>=3.0.0->eth_tester) (1.16.0)\n"
]
}
],
"source": [
"!pip install eth_tester"
]
},
{
"cell_type": "code",
"source": [
"from web3 import EthereumTesterProvider\n",
"EthereumTesterProvider"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "DJ8aP6SPV2qL",
"outputId": "46017735-849f-47bf-d76b-8997d034480b"
},
"execution_count": 8,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"web3.providers.eth_tester.main.EthereumTesterProvider"
]
},
"metadata": {},
"execution_count": 8
}
]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "iPTZgZ_mWUiG"
},
"execution_count": null,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment