{"id":18369825,"url":"https://github.com/cawfree/ethers-url","last_synced_at":"2026-02-09T14:31:23.898Z","repository":{"id":65804084,"uuid":"599550044","full_name":"cawfree/ethers-url","owner":"cawfree","description":"🦄 🔗 Convert high level ethers transactions into sharable links!","archived":false,"fork":false,"pushed_at":"2023-02-11T00:41:23.000Z","size":83,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-06T17:02:15.904Z","etag":null,"topics":["eip-681","eip-831","eth","ethereum","ethers","tx","url"],"latest_commit_sha":null,"homepage":"https://twitter.com/cawfree","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cawfree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-02-09T11:30:29.000Z","updated_at":"2023-05-15T06:16:50.000Z","dependencies_parsed_at":"2023-02-21T12:15:34.390Z","dependency_job_id":null,"html_url":"https://github.com/cawfree/ethers-url","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"26f565458101d24d66043eb6556293eb7f0f00e6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cawfree/ethers-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fethers-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fethers-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fethers-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fethers-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cawfree","download_url":"https://codeload.github.com/cawfree/ethers-url/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fethers-url/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268248756,"owners_count":24219557,"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-08-01T02:00:08.611Z","response_time":67,"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":["eip-681","eip-831","eth","ethereum","ethers","tx","url"],"created_at":"2024-11-05T23:32:22.752Z","updated_at":"2026-02-09T14:31:23.865Z","avatar_url":"https://github.com/cawfree.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## [`ethers-url`](https://github.com/cawfree/ethers-url)\n\n\u003e ⚠️ This project is still under development.\n\n🦄 🐝 [__Ethereum URL__](https://eips.ethereum.org/EIPS/eip-681) parsing and generation using [`ethers`](https://github.com/ethers-io/ethers.js).\n\n### 🚀 getting started\n\nYou can download [`ethers-url`](https://github.com/cawfree/ethers-url) from [__Yarn__](https://yarnpkg.com):\n\n```shell\nyarn add ethers@5.7.2 bignumber.js ethers-url\n```\n\nNext, it's easy to take any existing contract interactions you're using and generate the corresponding URL:\n\n```typescript\nimport {ethers} from 'ethers';\nimport {wrap} from 'ethers-url';\n\nimport erc20 from './erc20.abi.json';\n\n// This is a proxy of the Contract.\n// Traditionally, where you'd usually invoke transactions, you will now receive equivalent transaction URLs.\nconst wrappedWeth = wrap(\n  new ethers.Contract('0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', erc20)\n);\n\nconst erc20TokenTransferUrl = await wrappedWeth.transfer(\n  ethers.utils.getAddress('0x8e23ee67d1332ad560396262c48ffbb01f93d052'),\n  ethers.BigNumber.from('1'),\n); // 'ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/transfer?address=0x8e23Ee67d1332aD560396262C48ffbB01F93D052\u0026uint256=1'\n```\n\n### 🙏 attribution\n\nHuge thanks to [`@brunobar79`](https://twitter.com/brunobar79) for his compliant implementations of [__EIP-681__](https://eips.ethereum.org/EIPS/eip-681) and [__EIP-831__](https://eips.ethereum.org/EIPS/eip-831):\n- [`eth-url-parser`](https://github.com/brunobar79/eth-url-parser)\n- [`eip681-link-generator`](https://github.com/brunobar79/eip681-link-generator)\n\n### ✌️ license\n[__CC0-1.0__](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcawfree%2Fethers-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcawfree%2Fethers-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcawfree%2Fethers-url/lists"}