Skip to content

Instantly share code, notes, and snippets.

@JAC-02
Created September 5, 2022 05:17
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/1e3bc066f320e657e846004fd0848658 to your computer and use it in GitHub Desktop.
Save JAC-02/1e3bc066f320e657e846004fd0848658 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",
"source": [
"w3 = Web3(EthereumTesterProvider())\n",
"\n",
"w3.isConnected()"
],
"metadata": {
"id": "iPTZgZ_mWUiG",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "ed9f3f46-bb58-4d0e-ae76-e683bcd36a80"
},
"execution_count": 6,
"outputs": [
{
"output_type": "stream",
"name": "stderr",
"text": [
"/usr/local/lib/python3.7/dist-packages/eth_tester/backends/__init__.py:31: UserWarning: Ethereum Tester: No backend was explicitly set, and no *full* backends were available. Falling back to the `MockBackend` which does not support all EVM functionality. Please refer to the `eth-tester` documentation for information on what backends are available and how to set them. Your py-evm package may need to be updated.\n",
" \"Ethereum Tester: No backend was explicitly set, and no *full* \"\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"True"
]
},
"metadata": {},
"execution_count": 6
}
]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "dNfsQqENxMnZ"
},
"execution_count": null,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment