{"id":28953815,"url":"https://github.com/wraithkingdev555/upgradable-proxy-contract","last_synced_at":"2025-06-23T18:39:31.510Z","repository":{"id":293123775,"uuid":"933334116","full_name":"wraithkingdev555/upgradable-proxy-contract","owner":"wraithkingdev555","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-05T08:34:57.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T19:58:15.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/wraithkingdev555.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-15T17:53:16.000Z","updated_at":"2025-03-05T08:35:00.000Z","dependencies_parsed_at":"2025-05-13T19:59:22.607Z","dependency_job_id":"d1d1153b-9530-4663-9639-c2305ada22ae","html_url":"https://github.com/wraithkingdev555/upgradable-proxy-contract","commit_stats":null,"previous_names":["wraithkingdev555/upgradable-proxy-contract"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wraithkingdev555/upgradable-proxy-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraithkingdev555%2Fupgradable-proxy-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraithkingdev555%2Fupgradable-proxy-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraithkingdev555%2Fupgradable-proxy-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraithkingdev555%2Fupgradable-proxy-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wraithkingdev555","download_url":"https://codeload.github.com/wraithkingdev555/upgradable-proxy-contract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraithkingdev555%2Fupgradable-proxy-contract/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261535104,"owners_count":23173521,"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":"2025-06-23T18:39:30.360Z","updated_at":"2025-06-23T18:39:31.493Z","avatar_url":"https://github.com/wraithkingdev555.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Upgradable proxy contract\n\n## How to deploy proxy contract\n1. Deploy the ProxyExample contract's first version.\\\n    `npx hardhat compile`\\\n    `npx hardhat run --network mumbai .\\deploy\\proxyDeploy.js`\n2. Visit the proxy address in mumbai scan and click code\n3. In the code tab, click 'More Options' button and select 'Is this a proxy?' in the dropdown menu.\n4. Click verify button in the modal showing in the new page\n5. You can get the implementation address of this proxy address. \n6. Verify the implementation contract.\\\n    `npx hardhat verify \u003cimplementationAddress\u003e`\n7. In the modal of 4, click save button. Success!\n\n## How to upgrade proxy contract\n1. Write proxyUpgrade.js script. In this file, copy the proxy contract address in the proxyAddress variable.\n2. Deploy the upgraded contract.\\\n    `npx hardhat compile`\\\n    `npx hardhat run --network mumbai .\\deploy\\proxyUpgrade.js`\n3. Repeat the 2 ~ 7 in the How to deploy proxy contract\n4. In the 'Read as Proxy' and 'Write as Proxy' tab, you can see the updated functions.\n\n## You must append added storage variables at the end of existing storage variables.\nIf you insert in the middle of exisitng storage variables, then the storage will break.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraithkingdev555%2Fupgradable-proxy-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwraithkingdev555%2Fupgradable-proxy-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraithkingdev555%2Fupgradable-proxy-contract/lists"}