{"id":16718254,"url":"https://github.com/akhileshthite/create-fvm-dapp","last_synced_at":"2025-04-10T08:52:43.337Z","repository":{"id":65849119,"uuid":"601054309","full_name":"akhileshthite/create-fvm-dapp","owner":"akhileshthite","description":"📦 A full-stack starter template with React \u0026 Hardhat to develop, deploy, and test Solidity smart contracts on the FEVM network.","archived":false,"fork":false,"pushed_at":"2023-03-16T20:04:39.000Z","size":1830,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T03:39:35.183Z","etag":null,"topics":["create-fvm-dapp","fevm","filecoin","filecoinvirtualmachine","fvm","hardhat","ipfs","javascript","npm-package","react","solidity","starter-kit","tailwindcss","web3storage"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/create-fvm-dapp","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/akhileshthite.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}},"created_at":"2023-02-13T09:15:06.000Z","updated_at":"2024-07-04T17:36:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"3443b85d-20e6-4c6c-af16-def8ea7f2491","html_url":"https://github.com/akhileshthite/create-fvm-dapp","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.31818181818181823","last_synced_commit":"8fd75ec757a85f4e2cd1b53c7944b9f74aab7060"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fcreate-fvm-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fcreate-fvm-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fcreate-fvm-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fcreate-fvm-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akhileshthite","download_url":"https://codeload.github.com/akhileshthite/create-fvm-dapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247734266,"owners_count":20987237,"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":["create-fvm-dapp","fevm","filecoin","filecoinvirtualmachine","fvm","hardhat","ipfs","javascript","npm-package","react","solidity","starter-kit","tailwindcss","web3storage"],"created_at":"2024-10-12T21:35:51.049Z","updated_at":"2025-04-10T08:52:43.320Z","avatar_url":"https://github.com/akhileshthite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg align=\"center\" src=\"/src/logo.png\" width=\"175\"\u003e\u003c/img\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ecreate-fvm-dapp\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-filecoin-blue.svg?style=flat-square\" alt=\"Platform\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/akhileshthite/create-fvm-dapp?color=orange\u0026style=flat-square\" alt=\"License\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/akhileshthite/create-fvm-dapp?color=purple\u0026style=flat-square\" alt=\"Release\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dw/create-fvm-dapp?style=flat-square\" alt=\"Downloads\"\u003e\n\u003c/div\u003e\u003cbr\u003e\n\nA full-stack starter template with React \u0026 Hardhat to develop, deploy, and test Solidity smart contracts on the FEVM network. The starter kit also includes pre-installed `web3.storage`, `tailwindcss`, `web3.js`, etc. packages.\n\n## 📺 Quickstart\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/demo.gif\" /\u003e\n\u003c/div\u003e\n\n## 🛠️ Installation guide\n\n### ⌛️ create-fvm-dapp command\n\nOpen up your terminal (or command prompt) and type the following command:\n\n```sh\nnpx create-fvm-dapp \u003cyour-dapp-name\u003e\n\n# cd into the directory\ncd \u003cyour-dapp-name\u003e\n```\n\n\u003e ⚠️ If you encounter any errors during package installation, please ensure that your `node.js` and `npm` versions are up-to-date.\n\n### 🔑 Private key\n\nEnsure you create a `.env` file in the `root` directory. Then paste your [Metamask private key](https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key) in `.env` with the variable name `PRIVATE_KEY` as follows:\n\n```sh\nPRIVATE_KEY=1234\n```\n\n### ⚙️ Compile\n\nNow, you can write your contracts in `./contracts/` directory, replace `Greeter.sol` with `\u003cyour-contracts\u003e.sol` file. To write tests, go to `./test` directory and create `\u003cyour-contracts\u003e.test.js`.\n\n```sh\nnpx hardhat compile\n\n# for testing the smart contracts\nnpx hardhat test\n```\n\nAfter successful compilation, the artifacts directory will be created in `./src/artifacts` with a JSON `/contracts/\u003cyour-contracts\u003e.sol/\u003cyour-contracts\u003e.json` containing ABI and Bytecode of your compiled smart contracts.\n\nPlease make the changes while [Importing](https://github.com/akhileshthite/create-fvm-dapp/blob/670b4561e7da5db6faa121f2664c427b8427da60/src/App.js#L9) the JSON in `./src/app.js`.\n\n### ⛓️ Deploy\n\nBefore deploying the smart contracts, please make sure you have a `hyperspace testnet` in your Metamask wallet with sufficient funds, follow this [quickstart](https://github.com/filecoin-project/testnet-hyperspace#quickstart) guide if you do not have one.\n\nAlso, make changes in `./scripts/deploy.js` (replace the greeter contract name with `\u003cyour-contract-name\u003e`).\n\nFor deploying the smart contracts to FEVM network, type the following command:\n\n```sh\nnpx hardhat run --network hyperspace scripts/deploy.js\n\n# mainnet: npx hardhat run --network filecoin_mainnet scripts/deploy.js\n```\n\nCopy-paste the deployed contract address [here](https://github.com/akhileshthite/create-fvm-dapp/blob/27af748b814f3e1448db710af03f39d12464cc20/src/App.js#L32)\n\n```sh\n📜 Contract deployed to: 0x...\n```\n\n### 💻 React client\n\nstart react app\n\n```sh\nnpm start\n# Starting the development server...\n```\n\nPlease read the [hardhat documentation](https://hardhat.org/hardhat-runner/docs/getting-started#quick-start) and [FVM documentation](https://docs.filecoin.io/developers/smart-contracts/filecoin-virtual-machine/) for more details.\n\n## ⚖️ License\n\ncreate-fvm-dapp is licensed under the [MIT License](https://github.com/akhileshthite/create-fvm-dapp/blob/main/LICENSE).\n\n\u003chr\u003e\nDon't forget to leave a star ⭐️ ~ \u003ca href=\"https://twitter.com/akhileshthite_\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/akhileshthite_?style=social\" alt=\"twitter\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhileshthite%2Fcreate-fvm-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhileshthite%2Fcreate-fvm-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhileshthite%2Fcreate-fvm-dapp/lists"}