{"id":20974298,"url":"https://github.com/thirdweb-example/smart-wallet-script","last_synced_at":"2025-05-14T12:31:38.245Z","repository":{"id":163596958,"uuid":"638781151","full_name":"thirdweb-example/smart-wallet-script","owner":"thirdweb-example","description":"Simple Smart Wallet demo in node.js","archived":false,"fork":false,"pushed_at":"2023-10-06T17:43:39.000Z","size":276,"stargazers_count":9,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-10-06T18:37:30.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/thirdweb-example.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}},"created_at":"2023-05-10T05:06:20.000Z","updated_at":"2023-09-15T21:52:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9b26ee9-d0e2-4ba9-b7d4-61f44d358b63","html_url":"https://github.com/thirdweb-example/smart-wallet-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsmart-wallet-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsmart-wallet-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsmart-wallet-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsmart-wallet-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thirdweb-example","download_url":"https://codeload.github.com/thirdweb-example/smart-wallet-script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225294420,"owners_count":17451527,"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":"2024-11-19T04:27:52.690Z","updated_at":"2024-11-19T04:27:54.033Z","avatar_url":"https://github.com/thirdweb-example.png","language":"TypeScript","readme":"# Smart Wallet demo script\n\nThis simple node script demonstrates how to use thirdweb to deploy and use Smart Wallets - ERC4337 smart contracts - using the Wallet SDK.\n\nThe script will:\n\n1. generate a personal wallet using LocalWallet\n2. connect to the corresponding smart wallet\n3. claim a ERC20 token using the thirdweb SDK\n4. create a scoped session key\n5. claim a ERC20 using the session key\n6. revoke the session key\n\n## Install dependencies\n\n```bash\nyarn install\n```\n\n## Configuration\n\nThe script requires a thirdweb API key.\n\npaste your thirdweb API secret key in your .env file:\n\n```.env\nTHIRDWEB_SECRET_KEY={{your_secret_key}}\n```\n\n## Run the project:\n\n```bash\nyarn dev\n```\n\n## Documentation\n\nFull documentation at: [https://portal.thirdweb.com/wallet/smart-wallet](https://portal.thirdweb.com/wallet/smart-wallet)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fsmart-wallet-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirdweb-example%2Fsmart-wallet-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fsmart-wallet-script/lists"}