{"id":18600915,"url":"https://github.com/wingleung/ethereum-wallet-api-example","last_synced_at":"2026-02-23T13:16:39.456Z","repository":{"id":97233813,"uuid":"134142264","full_name":"wingleung/ethereum-wallet-api-example","owner":"wingleung","description":"A basic example of an Ethereum wallet API to manage your crypto wallet","archived":false,"fork":false,"pushed_at":"2018-05-20T11:08:44.000Z","size":73,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T04:51:51.551Z","etag":null,"topics":["api","cryptocurrency","ethereum","nodejs","wallet","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/wingleung.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,"zenodo":null}},"created_at":"2018-05-20T10:51:05.000Z","updated_at":"2025-01-05T15:56:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"73f0e676-4e3c-472a-9812-06ea007c359f","html_url":"https://github.com/wingleung/ethereum-wallet-api-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wingleung/ethereum-wallet-api-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingleung%2Fethereum-wallet-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingleung%2Fethereum-wallet-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingleung%2Fethereum-wallet-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingleung%2Fethereum-wallet-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wingleung","download_url":"https://codeload.github.com/wingleung/ethereum-wallet-api-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingleung%2Fethereum-wallet-api-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269600274,"owners_count":24444895,"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-09T02:00:10.424Z","response_time":111,"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":["api","cryptocurrency","ethereum","nodejs","wallet","web3"],"created_at":"2024-11-07T02:06:20.223Z","updated_at":"2026-02-23T13:16:34.422Z","avatar_url":"https://github.com/wingleung.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethereum wallet API example\n\nA basic example of an ethereum wallet API with endpoints:\n\n* `/createWallet` create an ethereum wallet\n* `/getBalance` checking wallet balance\n* `/transaction` making a transaction\n\n## Getting Started\n\n```sh\n# clone repo\ngit clone git@github.com:wingleung/ethereum-wallet-api-example.git\ncd ethereum-wallet-api-example\n```\n\n```sh\n# Install dependencies\nnpm install\n```\n\n```sh\n# Start developing\nnpm run dev\n```\n\n```sh\n# Start server\nnpm start\n```\n\n## Config\n\n```js\n{\n  \"port\": 8080, // port to launch app to\n  \"bodyLimit\": \"1kb\", // max size of request json object\n  \"ethereumNetwork\": \"\" // url of your ethereum network\n}\n```\n\n## Endpoints\n\n`/createWallet`\n\n```sh\nGET localhost:8080/createWallet\n```\n\n```js\n# response\n{\n  \"address\": CREATED_WALLET,\n  \"privateKey\": PRIVATE_KEY\n}\n```\n\n`/getBalance/SOME_ETH_ADDRESS`\n\n```sh\nGET localhost:8080/getBalance/SOME_ETH_ADDRESS\n```\n\n```js\n# response\n{\n  \"ethAddress\": SOME_ETH_ADDRESS,\n  \"balance\": BALANCE\n}\n```\n\n`/transaction`\n\n```sh\nPOST to localhost:8080/transaction\nBODY\n{\n\t\"privateKey\": YOUR_PRIVATE_KEY,\n\t\"amount\": AMOUNT,\n\t\"destination\": DESTINATION_WALLET\n}\n```\n\n```js\n# response\n{\n  \"txHash\": TRANSACTION_HASH\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingleung%2Fethereum-wallet-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwingleung%2Fethereum-wallet-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingleung%2Fethereum-wallet-api-example/lists"}