{"id":15662783,"url":"https://github.com/ryanio/truffle-mint-dai","last_synced_at":"2025-05-05T23:53:03.878Z","repository":{"id":44208620,"uuid":"219801464","full_name":"ryanio/truffle-mint-dai","owner":"ryanio","description":"Demonstration repo to show how you can acquire your own forked mainnet DAI.","archived":false,"fork":false,"pushed_at":"2023-01-24T01:35:36.000Z","size":665,"stargazers_count":19,"open_issues_count":9,"forks_count":11,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-19T12:14:10.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://medium.com/ethereum-grid/forking-ethereum-mainnet-mint-your-own-dai-d8b62a82b3f7","language":"JavaScript","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/ryanio.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}},"created_at":"2019-11-05T17:16:39.000Z","updated_at":"2025-01-17T11:50:46.000Z","dependencies_parsed_at":"2023-01-31T17:15:36.654Z","dependency_job_id":null,"html_url":"https://github.com/ryanio/truffle-mint-dai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanio%2Ftruffle-mint-dai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanio%2Ftruffle-mint-dai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanio%2Ftruffle-mint-dai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanio%2Ftruffle-mint-dai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanio","download_url":"https://codeload.github.com/ryanio/truffle-mint-dai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252596391,"owners_count":21773844,"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-10-03T13:34:32.039Z","updated_at":"2025-05-05T23:53:03.842Z","avatar_url":"https://github.com/ryanio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Truffle Mint Dai\n\n[![Actions Status](https://github.com/ryanio/truffle-mint-dai/workflows/Build/badge.svg)](https://github.com/ryanio/truffle-mint-dai/actions)\n\nThis repo is a [Truffle](https://www.trufflesuite.com) project as an accompanying supplement to the article [Forking Ethereum Mainnet: Mint Your Own DAI](https://medium.com/ethereum-grid/forking-mainnet-for-an-easy-local-ethereum-developer-environment-d8b62a82b3f7).\n\nThis repo contains a test suite that shows you how you can acquire your own DAI on a forked mainnet.\n\nFirst run `yarn` and then set up your environment variables by running:\n\n`export ETHEREUM_NODE=https://mainnet.infura.io/v3/your_project_id`\n\n(If using geth, `ETHEREUM_NODE` may look like: `http://localhost:8545`)\n\nand\n\n`export USER_ADDRESS=$(yarn --silent getAddress)`\n\nThen run:\n\n`yarn ganache`\n\n#### Tests\n\nAfter your forked mainnet with `ganache-cli` is up and running, in a separate terminal run:\n\n`yarn test`\n\nYou should expect output like below:\n\n![Sample Test Output](https://i.imgur.com/JGWzr78.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanio%2Ftruffle-mint-dai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanio%2Ftruffle-mint-dai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanio%2Ftruffle-mint-dai/lists"}