{"id":20376903,"url":"https://github.com/xjonathanlei/starknet-bootstrap","last_synced_at":"2025-09-23T20:31:48.483Z","repository":{"id":208756651,"uuid":"722249067","full_name":"xJonathanLEI/starknet-bootstrap","owner":"xJonathanLEI","description":"Bootstrap a new Starknet network by declaring and deploying commonly used classes and contracts","archived":false,"fork":false,"pushed_at":"2023-11-23T05:18:39.000Z","size":474,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-11T17:57:47.566Z","etag":null,"topics":["starknet"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xJonathanLEI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-22T18:55:47.000Z","updated_at":"2024-05-14T05:47:28.000Z","dependencies_parsed_at":"2023-11-23T06:25:41.701Z","dependency_job_id":"dc6a5573-3734-4b4f-b13c-3b2725c117ce","html_url":"https://github.com/xJonathanLEI/starknet-bootstrap","commit_stats":null,"previous_names":["xjonathanlei/starknet-bootstrap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xJonathanLEI/starknet-bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fstarknet-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fstarknet-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fstarknet-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fstarknet-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xJonathanLEI","download_url":"https://codeload.github.com/xJonathanLEI/starknet-bootstrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fstarknet-bootstrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276644785,"owners_count":25679214,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["starknet"],"created_at":"2024-11-15T01:39:56.319Z","updated_at":"2025-09-23T20:31:48.175Z","avatar_url":"https://github.com/xJonathanLEI.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003estarknet-bootstrap\u003c/h1\u003e\n\u003c/p\u003e\n\n**Bootstrap a new Starknet network by declaring and deploying commonly used classes and contracts.**\n\n## Prerequisites\n\nTo run this tool, the new L2 network must fulfill the following requirements:\n\n- The L2 ETH token must be available at the `0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7` address.\n- The L2 network must have the OZ Cairo 0 account class `0x05c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6` declared.\n\nYou'd need to have these available:\n\n- an L1 JSON-RPC endpoint URL;\n- an L2 JSON-RPC (v0.4.x) endponit URL;\n- the `StarknetEthBridge` (proxy) contract address on L1;\n- private key to an L1 address that has at least `0.01 + fees` ETH balance;\n- any L2 private key that you choose.\n\n## Bootstrapping process\n\nThe bootstrapping process looks like this:\n\n1. The L1 account sends `0.01` ETH to an L2 to-be-deployed bootstrapper account (OZ Cairo 0);\n2. The L2 bootstrapper account is deployed using a `DEPLOY_ACCOUNT` transaction;\n3. The bootstrapper declares the UDC class;\n4. The bootstrapper declares a special account class whose sole purpose is to deploy the UDC contract using the `deploy` syscall;\n5. The bootstrapper sends `0.001` ETH to the to-be-deployed special account;\n6. The special account is deployed using a `DEPLOY_ACCOUNT` transaction;\n7. The special account deploys the UDC;\n8. The bootstrapper account declares all the classes needed, and deploys all the contracts needed using the UDC deployed.\n\n## Bridge addresses\n\nHere is a list of `StarknetEthBridge` addresses for well-known networks:\n\n| Network ID               | Address                                      |\n| ------------------------ | -------------------------------------------- |\n| `SN_INTEGRATION_SEPOLIA` | `0x6BC7a9f029E5E0CFe84c5b8b1acC0EA952EAed3b` |\n| `SN_SEPOLIA`             | `0x8453FC6Cd1bCfE8D4dFC069C400B433054d47bDc` |\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](./LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](./LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjonathanlei%2Fstarknet-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjonathanlei%2Fstarknet-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjonathanlei%2Fstarknet-bootstrap/lists"}