{"id":23536390,"url":"https://github.com/developerfred/minter","last_synced_at":"2026-02-06T20:03:24.568Z","repository":{"id":107464910,"uuid":"333823663","full_name":"developerfred/minter","owner":"developerfred","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-26T05:42:02.000Z","size":1972,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-05-14T22:42:07.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/developerfred.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":"2021-01-28T16:52:20.000Z","updated_at":"2021-04-22T09:42:23.000Z","dependencies_parsed_at":"2023-04-01T07:11:51.028Z","dependency_job_id":null,"html_url":"https://github.com/developerfred/minter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developerfred/minter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Fminter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Fminter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Fminter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Fminter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developerfred","download_url":"https://codeload.github.com/developerfred/minter/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Fminter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267339773,"owners_count":24071546,"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-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-12-26T02:20:08.914Z","updated_at":"2026-02-06T20:03:24.525Z","avatar_url":"https://github.com/developerfred.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup environment variables\n\n1. Go to https://infura.io/ and make an account\n2. Paste the kovan project ID into your .env as the value for `INFURA_PROJECT_ID` key\n3. Generate a 12 word mnemonic seed phrase (can use ganache to get one or ask project admin for current seed used for remote envs)\n4. Paste 12 word mnemonic seed phrase as value for `MNEMONIC_SEED` key\n5. Go to https://alchemyapi.io/ and setup an account then take the api key for the relevant network (like mainnet, kovan or ropsten) or ask the team for an existing API key and paste under `ALCHEMY_KEY`\n\n# Metamask\n\n1. Be sure to have metamask plugin installed in your browser (recommended browser is Chrome)\n2. Login to Metamask and point the network to localhost and port 8545 before starting the frontend app\n\n## Quickstart\n\n1. Run `git clone https://bitbucket.org/bigmochi/dapp-boilerplate \u0026\u0026 cd dapp-boilerplate`\n2. run `npm i` to install backend dependencies (or just run `npm start` to skip steps 3,4,5 and 8)\n3. Run `npm run compile` to generate typchain typings (skip if you ran `npm start` at #2)\n4. run `npm test` to run contract test suite to run smart contract test cases (skip if you ran `npm start` at #2)\n5. run `npm run node` to start the hardhat evm chain (skip if you ran `npm start` at #2)\n6. on another terminal, run `npm run deploy:local` to compile and deploy locally (deploy script copies the contract artifact \u0026 typechain to frontend)\n7. cd to frontend `cd frontend`\n8. run `npm i` to install frontend dependencies (skip if you ran `npm start` at #2)\n9. run `npm start` to serve the app locally\n10. React app should print the token contract name, total supply, current network (unknown if local) and contract address.\n\n## Environment Setup\n\n#### Quickstart Setup\n\n- [ ] Install all dependencies\n- [ ] Deployed a local ethereum network with HardHat Nework\n- [ ] Compliled and deployed smart contract to the blockchain\n- [ ] Contract artifact and typechain is auto generated in the front end folder\n\n#### Terminal Setup Checklist\n\n- [ ] Terminal 1 - React Front End for the dapp \\\n       ![React server](./readmeImages/1.png)\n- [ ] Terminal 2 - For local development: Hardhat network / Ganache depoloyed in port 8545, debugging in the blockchain\n- [ ] Terminal 3 (Optional) - Use to deploy new version of the smart contract in the blockchain after configuring it\n      ![React server](./readmeImages/2.png)\n\n#### Dapp Setup Checklist\n\n- [ ] Deploy a local ethereum network with hardhat network or ganache / determine test network to test\n- [ ] Metamask set to the network you are developing to (localhost:8545 for local, testnet of choice)\n- [ ] Run a local react server\n\n#### Smart Contract Development Setup Checklist\n\n- [ ] Contract and other dependencies are in the same folder\n\n## Tutorials\n\n#### Deploying contracts in Kovan Testnet\n\n1. Ensure you have added the following env variables: INFURA_PROJECT_ID and MNEMONIC SEED\n2. Make sure the account in your mnemonic seed has enough balance to deploy the contract\n3. Run `npm test` to ensure all tests are passing\n4. If tests are passing, deploy the code by running `npm run deploy:kovan`\n5. The token address should be shown in the console.\n6. Run your dApp: `cd frontend \u0026\u0026 npm run start`\n7. Change your metamask network to Kovan\n8. The token details, network name (Kovan in this case) and contract address should be displayed in the UI\n\n#### Local developlment: How to update the smart contract code w/ hot reloading\n\n1. Do updates in the smart contract solidity code in the contracts folder located in root\n2. Add tests in the test folder when necessary\n3. Run `npm test`\n4. If tests are passing, deploy the code by running `npm run deploy:local`\n5. If successful, the front end dApp should reload and smart contract changes can be read/utilized by the dApp.\n\n#### Testnet development: How to update the smart contract code w/ hot reloading\n\n1. Do updates in the smart contract solidity code in the contracts folder located in root\n2. Add tests in the test folder when necessary\n3. Run `npm test`\n4. If tests are passing, deploy the code by running `npm run deploy:kovan`\n5. If successful, the front end dApp should reload and smart contract changes can be read/utilized by the dApp.\n\n#### Resources\n\n[HardHat Documentation](https://hardhat.org/getting-started/) - Hardhat tutorials, config, network, and plugin references\n[scaffold-eth speeeeedrun](https://www.youtube.com/watch?v=eUAc2FtC0_s) - Similar workflow we can use in working with this boilerplate. Our boilerplate seemed to be an improved typescript version of this stack.\n\n## Troubleshooting\n\n1. Error: Cannot use JSX unless the '--jsx' flag is provided\n\n- Follow: https://vscode.readthedocs.io/en/latest/languages/typescript/#using-the-workspace-version-of-typescript - \"Using the workspace version of TypeScript\" section\n\n2. Warning: Calling an account which is not a contract\n\n- Compile and deploy your contract first. Run `npm run deploy:local` for local deployments.\n\n3. If you get `ProviderError: Must be authenticated!` or https://hardhat.org/errors/#HH604 then make sure you've entered a key and value in `.env` for `ALCHEMY_KEY`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperfred%2Fminter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloperfred%2Fminter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperfred%2Fminter/lists"}