{"id":20887155,"url":"https://github.com/yosriady/serverless-ethers","last_synced_at":"2025-10-04T05:48:16.544Z","repository":{"id":42255611,"uuid":"276534909","full_name":"yosriady/serverless-ethers","owner":"yosriady","description":"Serverless smart contract automation service, built on the Serverless framework.","archived":false,"fork":false,"pushed_at":"2024-12-02T03:19:15.000Z","size":108,"stargazers_count":35,"open_issues_count":13,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-20T23:41:28.751Z","etag":null,"topics":["ethereum","serverless","solidity"],"latest_commit_sha":null,"homepage":"https://yos.io/2020/07/04/serverless-smart-contract-automation/","language":null,"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/yosriady.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-02T03:01:53.000Z","updated_at":"2024-04-10T10:56:21.000Z","dependencies_parsed_at":"2023-02-18T05:45:30.618Z","dependency_job_id":"88a75085-194e-437e-8e1c-5508131bbdc0","html_url":"https://github.com/yosriady/serverless-ethers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yosriady/serverless-ethers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosriady%2Fserverless-ethers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosriady%2Fserverless-ethers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosriady%2Fserverless-ethers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosriady%2Fserverless-ethers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yosriady","download_url":"https://codeload.github.com/yosriady/serverless-ethers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosriady%2Fserverless-ethers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278271697,"owners_count":25959521,"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-10-04T02:00:05.491Z","response_time":63,"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":["ethereum","serverless","solidity"],"created_at":"2024-11-18T08:19:15.003Z","updated_at":"2025-10-04T05:48:16.513Z","avatar_url":"https://github.com/yosriady.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-ethers\n\nLearn more by reading the blog post: [Serverless Smart Contract Automation](https://yos.io/2020/07/04/serverless-smart-contract-automation/).\n\n## Table of Contents\n\n|                                     | Description                                 | Stack                 |\n| ----------------------------------- | ------------------------------------------- | --------------------- |\n| [`contracts`](contracts)     | 🖼 Smart contract ABIs | `json`, `ethereum` |\n| [`functions`](functions)                  | 🚀 Lambda functions                              | `node`, `js`          |\n\n## Prerequisites\n\nInstall the [Serverless Framework CLI](https://www.serverless.com/framework/docs/getting-started/).\n\n## Getting Started\n\n```bash\ngit clone git@github.com:yosriady/serverless-ethers.git\ncd serverless-ethers\nnvm use\nnpm install\n```\n\n### Set your environment variables\n\nYou can find and update the function's configuration in [`serverless.yml`](https://github.com/yosriady/serverless-ethers/blob/master/serverless.yml):\n\n```yml\nservice: serverless-ethers\nprovider:\n  name: aws\n  runtime: nodejs12.x\n  region: ap-southeast-1\n  timeout: 30\n  environment:\n    DEFAULT_GAS_PRICE: 60000000000\n    MNEMONIC: ...\n```\n\nThis example uses the following environment variables:\n\n- `DEFAULT_GAS_PRICE`: Default gas price used when making write transactions.\n- `MNEMONIC`: 12-word mnemonic used to derive an Ethereum address, make sure it's funded with Ether if you intend to write data to Ethereum!\n- `SLACK_HOOK_URL`: The example sends messages to Slack using [Incoming Webhooks](https://api.slack.com/messaging/webhooks). You can get this URL from your Slack dashboard. (Optional)\n\n\u003e You can change your deployed function's environment variables on the fly from the AWS Lambda console.\n\n### Triggering the function locally\n\n```bash\nserverless invoke local --function exec\n```\n\nThis will execute the smart contract function from your local machine.\nGreat for debugging and testing.\n\n### Deploying to AWS\n\n```bash\nserverless deploy\n```\n\n## Thanks\n\n**serverless-ethers** 2020+, Yos Riady. Released under the [MIT] License.\u003cbr\u003e\nAuthored and maintained by Yos Riady with help from contributors ([list][contributors]).\n\n\u003e [yos.io](http://yos.io) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@yosriady](https://github.com/yosriady)\n\n[MIT]: http://mit-license.org/\n[contributors]: http://github.com/yosriady/serverless-ethers/contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyosriady%2Fserverless-ethers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyosriady%2Fserverless-ethers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyosriady%2Fserverless-ethers/lists"}