{"id":19498079,"url":"https://github.com/patrickalphac/web3_py_simple_storage","last_synced_at":"2025-04-25T22:33:02.148Z","repository":{"id":41809107,"uuid":"375347416","full_name":"PatrickAlphaC/web3_py_simple_storage","owner":"PatrickAlphaC","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-02T18:32:50.000Z","size":18,"stargazers_count":42,"open_issues_count":0,"forks_count":78,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-05-02T19:32:33.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PatrickAlphaC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-09T12:28:44.000Z","updated_at":"2023-04-26T11:19:53.000Z","dependencies_parsed_at":"2023-01-31T00:21:16.177Z","dependency_job_id":null,"html_url":"https://github.com/PatrickAlphaC/web3_py_simple_storage","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickAlphaC%2Fweb3_py_simple_storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickAlphaC%2Fweb3_py_simple_storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickAlphaC%2Fweb3_py_simple_storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickAlphaC%2Fweb3_py_simple_storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PatrickAlphaC","download_url":"https://codeload.github.com/PatrickAlphaC/web3_py_simple_storage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224019638,"owners_count":17242176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T21:49:09.604Z","updated_at":"2024-11-10T21:49:10.739Z","avatar_url":"https://github.com/PatrickAlphaC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e NOTE: This repo has been updated to use the sepolia testnet over rinkeby, goerli and kovan.\n\n1. Clone this repo\n\n```\ngit clone https://github.com/PatrickAlphaC/web3_py_simple_storage\ncd web3_py_simple_storage\n```\n\n2. Setup a [local ganache chain](https://www.trufflesuite.com/ganache)\n3. Install requirements\n\n```bash\npip install -r requirements.txt\n```\n\n4. Set your private keys and address, and adjust this section appropriately:\n\n```python\n# For connecting to ganache\nw3 = Web3(Web3.HTTPProvider(\"http://0.0.0.0:8545\"))\nchaind_id = 1337\nmy_address = \"0x6aABE487828603b6f0a3E1C7DAcF7F42bA42A9B2\"\nprivate_key = os.getenv(\"PRIVATE_KEY\")\n```\n\nTo set your private key as an environment variable, run `export PRIVATE_KEY=0xasdfasdfasfdasf`. If you're confused on how environment variables work, just set:\n\n```python\nprivate_key = \"0xYOUR_KEY_HERE\"\n```\n\n5. Run\n\n```\npython deploy.py\n```\n\nTo run on a testnet, just change these variables to whatever testnet you want to work with:\n\n```\nw3 = Web3(Web3.HTTPProvider(\"http://0.0.0.0:8545\"))\nchaind_id = 1337\nmy_address = \"0x94B806BB0e455576ea46193D9DBbB08d1cc57Da9\"\nprivate_key = os.getenv(\"PRIVATE_KEY\")\n```\n\nAnd make sure you have testnet ETH for whatever testnet you're on!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickalphac%2Fweb3_py_simple_storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickalphac%2Fweb3_py_simple_storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickalphac%2Fweb3_py_simple_storage/lists"}