{"id":13566893,"url":"https://github.com/etherspot/etherspot-sdk","last_synced_at":"2025-04-12T19:42:07.174Z","repository":{"id":36961883,"uuid":"286722271","full_name":"etherspot/etherspot-sdk","owner":"etherspot","description":"Etherspot - Account Abstraction SDK","archived":false,"fork":false,"pushed_at":"2023-12-18T08:37:25.000Z","size":1612,"stargazers_count":369,"open_issues_count":4,"forks_count":20,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-04T00:09:27.600Z","etag":null,"topics":["account-abstraction","blockchain","erc4337","ethereum","etherspot","frontend","multichain","sdk","smart-contract-wallet"],"latest_commit_sha":null,"homepage":"https://docs.etherspot.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etherspot.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}},"created_at":"2020-08-11T11:07:48.000Z","updated_at":"2025-03-17T17:34:08.000Z","dependencies_parsed_at":"2023-02-16T06:01:18.664Z","dependency_job_id":"15520525-d9e9-418e-9ebc-11f35d050303","html_url":"https://github.com/etherspot/etherspot-sdk","commit_stats":{"total_commits":217,"total_committers":15,"mean_commits":"14.466666666666667","dds":0.7142857142857143,"last_synced_commit":"53c49eb1b9effb9cc76fbe47b7fef0b3e4eef744"},"previous_names":[],"tags_count":125,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherspot%2Fetherspot-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherspot%2Fetherspot-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherspot%2Fetherspot-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherspot%2Fetherspot-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etherspot","download_url":"https://codeload.github.com/etherspot/etherspot-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625234,"owners_count":21135510,"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":["account-abstraction","blockchain","erc4337","ethereum","etherspot","frontend","multichain","sdk","smart-contract-wallet"],"created_at":"2024-08-01T13:02:18.980Z","updated_at":"2025-04-12T19:42:07.148Z","avatar_url":"https://github.com/etherspot.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Etherspot SDK\n\n## **Deprecation Notice (PLEASE READ)**\n\n\u003e[!WARNING]\n\u003eThis is the **OLD** version of the Etherspot SDK. \n\nERC4337 is the new standard for [Account Abstraction on Ethereum.](https://www.erc4337.io/) \nAny Account Abstraction development done on EVM based networks going forward should be done using this standard.\n\nThis SDK is pre 4337 and **not** being updated anymore. \n\nPlease refer to the links below and use Etherspot Prime going forward:\n- [Etherspot Prime Github Repo](https://github.com/etherspot/etherspot-prime-sdk)\n- [Etherspot Prime Documentation](https://etherspot.fyi/introduction)\n\n-----------------\n[![NPM version][npm-image]][npm-url]\n![MIT licensed][license-image]\n\n\u003ca href=\"https://www.etherspot.io\"\u003e\n\u003cimg src=\".github/etherspot_logo.png\" width=\"100\"/\u003e\n\u003c/a\u003e\n \n\nEtherspot is a blockchain development framework for EVM-compatible chains that creates direct state channel bridges to provide a seamless user experience across chains and wallets.\n\nWith just one deposit you’re able to onboard your users to the entire multichain world.\n\nDevelopers can use the Buidler and TransactionKit tools to easily include Etherspot features into their dapps.\n\nFor more powerful but complex uses, developers can dive deeper into the SDK and explore a number of custom use cases.\n\nMore information at [etherspot.io](https://www.etherspot.io)\n\n## Resources\n\n* [Playground](https://try.etherspot.dev)\n* [BUIDLer](https://buidler.etherspot.io/)\n* [TransactionKit](https://etherspot.io/transactionkit/)\n* [Documentation](https://docs.etherspot.dev)\n* [Examples](https://github.com/etherspot/etherspot-sdk/tree/develop/examples)\n\n## Installation\n\n```bash\n$ npm i ethers@^5.5.2 reflect-metadata@^0.1.13 rxjs@^6.6.2 -S\n$ npm i etherspot -S\n$ npm i ws -s # node.js only\n```\n\n## Usage\n\n```typescript\nimport { Sdk, randomPrivateKey } from 'etherspot';\n\nconst PRIVATE_KEY = randomPrivateKey();\n\nasync function main() {\n  const sdk = new Sdk(PRIVATE_KEY);\n\n  sdk.notifications$.subscribe(notification =\u003e console.log('notification:', notification));\n  \n  await sdk.computeContractAccount();\n  \n  const { account } = sdk.state;\n  \n  console.log('contract account:', account);\n  \n  // top-up contract account (account.address)\n  \n  // add transaction to gateway batch\n  await sdk.batchExecuteAccountTransaction({\n    to: '0xEEb4801FBc9781EEF20801853C1Cb25faB8A7a3b',\n    value: 100, // 100 wei\n  });\n  \n  console.log('gateway batch estimation:', await sdk.estimateGatewayBatch());\n\n  console.log('submitted gateway batch:', await sdk.submitGatewayBatch());\n}\n\nmain().catch(console.error);\n```\n\n## Notification of transactions\n\nnotification of transactions is not available for fuse\n\n## Transaction History on Klaytn\n\nHistory of transactions would be incomplete only on Klaytn Network due to lack of resources for fetching the required data\n\n\n## License\n\nMIT\n\n[npm-image]: https://badge.fury.io/js/etherspot.svg\n[npm-url]: https://npmjs.org/package/etherspot\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherspot%2Fetherspot-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetherspot%2Fetherspot-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherspot%2Fetherspot-sdk/lists"}