{"id":26494003,"url":"https://github.com/dwarvesf/dfg-bridge","last_synced_at":"2026-05-20T06:02:26.867Z","repository":{"id":231639346,"uuid":"782022089","full_name":"dwarvesf/dfg-bridge","owner":"dwarvesf","description":"contract for dfg bridging","archived":false,"fork":false,"pushed_at":"2024-04-05T02:42:41.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-05T03:33:23.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/dwarvesf.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}},"created_at":"2024-04-04T13:42:55.000Z","updated_at":"2024-04-05T03:33:33.458Z","dependencies_parsed_at":"2024-04-05T03:43:58.208Z","dependency_job_id":null,"html_url":"https://github.com/dwarvesf/dfg-bridge","commit_stats":null,"previous_names":["dwarvesf/dfg-bridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fdfg-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fdfg-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fdfg-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fdfg-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwarvesf","download_url":"https://codeload.github.com/dwarvesf/dfg-bridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591451,"owners_count":20477709,"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-03-20T09:58:34.587Z","updated_at":"2026-05-20T06:02:26.571Z","avatar_url":"https://github.com/dwarvesf.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://layerzero.network\"\u003e\n    \u003cimg alt=\"LayerZero\" style=\"max-width: 500px\" src=\"https://d3a2dpnnrypp5h.cloudfront.net/bridge-app/lz.png\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://layerzero.network\" style=\"color: #a77dff\"\u003eHomepage\u003c/a\u003e | \u003ca href=\"https://docs.layerzero.network/\" style=\"color: #a77dff\"\u003eDocs\u003c/a\u003e | \u003ca href=\"https://layerzero.network/developers\" style=\"color: #a77dff\"\u003eDevelopers\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eDFG Bridge\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.layerzero.network/contracts/oapp\" style=\"color: #a77dff\"\u003eQuickstart\u003c/a\u003e | \u003ca href=\"https://docs.layerzero.network/contracts/oapp-configuration\" style=\"color: #a77dff\"\u003eConfiguration\u003c/a\u003e | \u003ca href=\"https://docs.layerzero.network/contracts/options\" style=\"color: #a77dff\"\u003eMessage Execution Options\u003c/a\u003e | \u003ca href=\"https://docs.layerzero.network/contracts/endpoint-addresses\" style=\"color: #a77dff\"\u003eEndpoint Addresses\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eContract to help bridge dfg between chains.\u003c/p\u003e\n\n## 1) Developing Contracts\n\n#### Installing dependencies\n\nWe recommend using `pnpm` as a package manager (but you can of course use a package manager of your choice):\n\n```bash\npnpm install\n```\n\n#### Compiling your contracts\n\nThis project supports both `hardhat` and `forge` compilation. By default, the `compile` command will execute both:\n\n```bash\npnpm compile\n```\n\nIf you prefer one over the other, you can use the tooling-specific commands:\n\n```bash\npnpm compile:forge\npnpm compile:hardhat\n```\n\nOr adjust the `package.json` to for example remove `forge` build:\n\n```diff\n- \"compile\": \"$npm_execpath run compile:forge \u0026\u0026 $npm_execpath run compile:hardhat\",\n- \"compile:forge\": \"forge build\",\n- \"compile:hardhat\": \"hardhat compile\",\n+ \"compile\": \"hardhat compile\"\n```\n\n#### Running tests\n\nSimilarly to the contract compilation, we support both `hardhat` and `forge` tests. By default, the `test` command will execute both:\n\n```bash\npnpm test\n```\n\nIf you prefer one over the other, you can use the tooling-specific commands:\n\n```bash\npnpm test:forge\npnpm test:hardhat\n```\n\nOr adjust the `package.json` to for example remove `hardhat` tests:\n\n```diff\n- \"test\": \"$npm_execpath test:forge \u0026\u0026 $npm_execpath test:hardhat\",\n- \"test:forge\": \"forge test\",\n- \"test:hardhat\": \"$npm_execpath hardhat test\"\n+ \"test\": \"forge test\"\n```\n\n## 2) Deploying Contracts\n\nSet up deployer wallet/account:\n\n- Rename `.env.example` -\u003e `.env`\n- Choose your preferred means of setting up your deployer wallet/account:\n\n```\nMNEMONIC=\"test test test test test test test test test test test junk\"\nor...\nPRIVATE_KEY=\"0xabc...def\"\n```\n\nTo deploy your contracts to your desired blockchains, run the following command in your project's folder:\n\n```bash\nnpx hardhat lz:deploy\n```\n\nMore information about available CLI arguments can be found using the `--help` flag:\n\n```bash\nnpx hardhat lz:deploy --help\n```\n\nBy following these steps, you can focus more on creating innovative omnichain solutions and less on the complexities of cross-chain communication.\n\n\u003cbr\u003e\u003c/br\u003e\n\n\u003cp align=\"center\"\u003e\n  Join our community on \u003ca href=\"https://discord-layerzero.netlify.app/discord\" style=\"color: #a77dff\"\u003eDiscord\u003c/a\u003e | Follow us on \u003ca href=\"https://twitter.com/LayerZero_Labs\" style=\"color: #a77dff\"\u003eTwitter\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarvesf%2Fdfg-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwarvesf%2Fdfg-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarvesf%2Fdfg-bridge/lists"}