{"id":21588890,"url":"https://github.com/evmts/remix-example","last_synced_at":"2025-03-18T09:42:21.871Z","repository":{"id":204825232,"uuid":"712752563","full_name":"evmts/remix-example","owner":"evmts","description":"A minimal EVMts+Remix starterkit","archived":false,"fork":false,"pushed_at":"2023-11-01T06:04:47.000Z","size":161,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T16:12:23.887Z","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}},"created_at":"2023-11-01T05:41:45.000Z","updated_at":"2023-11-01T05:42:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"cabfd247-b91f-48c8-8579-55d28078e92f","html_url":"https://github.com/evmts/remix-example","commit_stats":null,"previous_names":["evmts/remix-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fremix-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fremix-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fremix-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmts%2Fremix-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evmts","download_url":"https://codeload.github.com/evmts/remix-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244197687,"owners_count":20414437,"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:52.091Z","updated_at":"2025-03-18T09:42:21.846Z","avatar_url":"https://github.com/evmts.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://evmts.dev/\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://user-images.githubusercontent.com/35039927/218812217-92f0f784-cb85-43b9-9ca6-e2b9effd9eb2.png\"\u003e\n      \u003cimg alt=\"wagmi logo\" src=\"https://user-images.githubusercontent.com/35039927/218812217-92f0f784-cb85-43b9-9ca6-e2b9effd9eb2.png\" width=\"auto\" height=\"300\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Evmts bun example\n\u003cp\u003e\n\n## ✨ EVMts remix starterkit\n\nEVMts now supports [Remix](https://remix.run/) now that [Remix supports vite](https://remix.run/blog/remix-heart-vite)\n\n[Remix](https://remix.run/) + EVMts. EVMts is an LSP and bundler used to import solidity contracts directly into your TypeScript code.\n\n![Untitled_ Sep 9, 2023 9_27 AM (1)](https://github.com/evmts/bun-starterkit/assets/35039927/53685b10-2dc6-4115-9c37-b8340dc02536)\n\n## 🤝 Getting Started\n\n1. Install Node Modules with [bun](https://bun.sh/docs), yarn, pnpm, or npm. To install bun run `npm install bun --global`\n\n```\nbun install\n```\n\n2. Run dev server\n\n```\nbun run dev\n```\n\n3. Navigate to localhost:5173\n\n![image](https://github.com/evmts/remix-example/assets/35039927/aabff476-4fd9-48b2-9191-7d4d88876f04)\n\n## EVMts bundler configuration\n\nEVMts works via a [vite plugin](https://vitejs.dev/). This includes:\n\n1. EVMts configuration which is in the [tsconfig.json](./tsconfig.json). \n\n2. Vite plugin configuration in the [vite.config.ts](./vite.config.ts) \n\nThis enables bun to import solidity files. EVMts imports are simple JavaScript objects that have the ABI and then helper methods to generate arguments for contract calls and event filters.\n\n## EVMts LSP\n\nEVMts LSP gives you language server functionality in your editor. In EVMts this includes many nice features\n\n- Natspec comments on hover\n- go-to-definition takes you directly to the solidity code that defined the contract method or event\n- Etherscan links to your contracts on hover\n\nBelow is an example of go-to-definition support\n\n![Untitled\\_ Sep 3, 2023 6_52 AM](https://github.com/evmts/evmts-monorepo/assets/35039927/ac46caf3-32cc-4ec5-8b3b-5e1df3f7819a)\n\n## Ethers.js\n\nEVMts works great with Ethers.js too. [here is a simple example with ethers](https://github.com/evmts/bun-starterkit/tree/ethers)\n\n![image](https://github.com/evmts/bun-starterkit/assets/35039927/36d28504-0523-4d23-ad40-04fa8915f325)\n\n## VSCode instructions\n\nSpecial steps are needed to get the LSP features working in VSCode. Most editors should work out the box but please open an issue if you run into trouble.\n\nTo use this plugin with Visual Studio Code, you should set your workspace's version of TypeScript, which will load plugins from your tsconfig.json file.\n\n1. Open a typescript file in your project in vscode\n2. Open command pallet \u003ccmd\u003e+p or \u003cctrl\u003e+p\n4. Select `\u003eTypescript: Select TypeScript Version` in command pallet\n5. Select `Use workspace version`\n\n![image](https://github.com/evmts/bun-starterkit/assets/35039927/8d358843-8eed-415d-bc3c-04522a463d15)\n![image](https://github.com/evmts/bun-starterkit/assets/35039927/0111bd24-689f-4f57-a495-ed7dc17f63ae)\n\nYou now should get all the EVMts LSP features such as natspec comments on hover and go-to-solidity-definition support\n\nFor more details see: [Using the workspace version of TypeScript](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript).\n\n## ⭐ Github\n\nIf you like Evmts give it a ⭐ at the [Evmts monorepo](https://github.com/evmts/evmts-monorepo)\n\n## 🔗 See also\n\n- Check out [Next.js starterkit](https://github.com/orgs/evmts/repositories) for an example of Evmts wagmi and Next\n- Check out [Vite starterkit](https://github.com/evmts/evmts-monorepo/tree/main/examples/vite) for an example of Evmts wagmi and Vite\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevmts%2Fremix-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevmts%2Fremix-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevmts%2Fremix-example/lists"}