{"id":21588900,"url":"https://github.com/evmts/quick-start","last_synced_at":"2025-04-10T21:52:51.332Z","repository":{"id":240303914,"uuid":"802267483","full_name":"evmts/quick-start","owner":"evmts","description":"The example app in the tevm quick start https://tevm.sh/","archived":false,"fork":false,"pushed_at":"2025-03-11T00:02:44.000Z","size":1898,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-10T21:52:40.990Z","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/evmts.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}},"created_at":"2024-05-17T21:26:42.000Z","updated_at":"2025-03-11T00:02:48.000Z","dependencies_parsed_at":"2024-05-17T22:31:56.988Z","dependency_job_id":"751be43d-f7c2-47f1-b381-181156a9579a","html_url":"https://github.com/evmts/quick-start","commit_stats":null,"previous_names":["evmts/quick-start"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fquick-start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fquick-start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fquick-start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fquick-start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evmts","download_url":"https://codeload.github.com/evmts/quick-start/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248305852,"owners_count":21081562,"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-24T16:11:53.617Z","updated_at":"2025-04-10T21:52:51.311Z","avatar_url":"https://github.com/evmts.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tevm Getting Started\n\nThis repo demonstrates the [Tevm Getting Started Guide](https://tevm.sh/getting-started/getting-started/). Every step of the guide is it's own commit.\n\n## Features demonstrated\n\n- [Creating an in-memory EVM with `createMemoryClient`](https://github.com/evmts/quick-start/commit/14cc9ae57fdec784f9d779010b91df9b6935055a)\n- [Making requests to the in-memory EVM with viem actions such as `memoryClient.getBlockNumber`](https://github.com/evmts/quick-start/commit/3ce876cb27022befebc22f64562afacc125da078) and [`memoryClient.getTransactionReceipt`](https://github.com/evmts/quick-start/commit/d3371fbec7e3ed5e8da7b6447c0845127a4bb064)\n- [Querying account information with `memoryClient.tevmGetAccount`](https://github.com/evmts/quick-start/commit/6cf495c4ca5bfceeb1c21a0cf31f206458241791)\n- [Modifying account information with `memoryClient.tevmSetAccount`](https://github.com/evmts/quick-start/commit/8079d4afcbb8f6494bab4100bf0d17109f3cf923)\n- [Using the accounts prefunded with `1000 eth`](https://github.com/evmts/quick-start/commit/b00e2c3489c3dc2d38b7d31dc5d4d4fd25c0f622)\n- [Executing the EVM and creating a transaction with `memoryClient.tevmCall`](https://github.com/evmts/quick-start/commit/831ad06fa7c7143a351edda0b02741048bd623d7)\n- [Mining a new block with `memoryClient.tevmMine`](https://github.com/evmts/quick-start/commit/7418a4afc503335804bdc66834f4bda75d21631a)\n- [Deploying a contract with `memoryClient.tevmDeploy`](https://github.com/evmts/quick-start/commit/dbbeb75ec1006d1639169b227858a819b37ffd53)\n- [Calling a contract with `meoryClient.tevmContract`](https://github.com/evmts/quick-start/commit/9ca7d45a3004b5c4f362edab91b245b8955af4ee)\n- [Reducing boilerplate of contract calls in Tevm and Viem with Tevm `Contracts`](https://github.com/evmts/quick-start/commit/aed4d8a4bcdbcda526da159402f138d44f628ad8)\n- [Importing contracts into tests and running them as scripts](https://github.com/evmts/quick-start/commit/de0b4ace7cb192dc86e6d4fe7a36d847b7944853)\n- [Running JavaScript in solidity scripts](https://github.com/evmts/quick-start/commit/2551ecb01eb5a01863b4b9a58592c7ebb256491b)\n\nThere are also commits showing the boilerplate needed to run Tevm in the browser and set up the automatic solidity contract imports.\n\n## Main files\n\n- [src/main.ts](./src/main.ts) demonstrates the most basic tevm features such as modifying accounts deploying and calling contracts and using the viem api.\n- [src/counter.spec.ts](./src/counter.spec.ts) demonstrates more advanced tevm features such as solidity scripting and running javascript in solidity.\n\n## Stack blitz\n\nThis repo is available as a stackblitz [here](https://stackblitz.com/~/github.com/evmts/quick-start?file=src/main.ts). You will have to enable the local version of typescript after starting the stakblitz. More information is in a comment at the top of `src/main.ts`.\n\n## ⭐ [Consider starring on github](https://github.com/evmts/tevm-monorepo)\n\n## [Join Telegram if you want to discuss tevm](https://t.me/+ANThR9bHDLAwMjUx)\n\n## Advanced NEXT.js example\n\nFor a more advanced example using Tevm and NEXT.js to build a robust transaction simulator app see the [NEXT.js example](https://github.com/evmts/tevm-monorepo/tree/main/examples/next)\n\n\u003cimg width=\"1494\" alt=\"image\" src=\"https://github.com/evmts/quick-start/assets/35039927/b7fca77e-9542-42ad-894a-3fe5eb838fed\"\u003e\n\n\nShout out to polarzero who originally built this. [See his live version here](https://svvy.sh/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevmts%2Fquick-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevmts%2Fquick-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevmts%2Fquick-start/lists"}