{"id":18654988,"url":"https://github.com/ethworks/moonbeam-waffle-mars-example","last_synced_at":"2025-07-21T17:33:55.103Z","repository":{"id":80050048,"uuid":"360454655","full_name":"EthWorks/moonbeam-waffle-mars-example","owner":"EthWorks","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-22T09:17:29.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-03T12:04:18.556Z","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/EthWorks.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":"2021-04-22T08:56:32.000Z","updated_at":"2021-11-22T20:25:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"7529ce95-9ad5-413c-a67d-9998cd8900a7","html_url":"https://github.com/EthWorks/moonbeam-waffle-mars-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EthWorks/moonbeam-waffle-mars-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthWorks%2Fmoonbeam-waffle-mars-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthWorks%2Fmoonbeam-waffle-mars-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthWorks%2Fmoonbeam-waffle-mars-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthWorks%2Fmoonbeam-waffle-mars-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EthWorks","download_url":"https://codeload.github.com/EthWorks/moonbeam-waffle-mars-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthWorks%2Fmoonbeam-waffle-mars-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266342809,"owners_count":23914262,"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-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-11-07T07:17:22.171Z","updated_at":"2025-07-21T17:33:55.095Z","avatar_url":"https://github.com/EthWorks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Waffle and Mars on Moonbeam\n\nThis is an example project using Waffle and Mars, prepared to run against a local Moonbeam node.\n\n## Building\n\n```shell\nyarn \u0026\u0026 yarn build\n```\n\n## Running tests with Waffle\n\nExample test is located in `test/Token.test.ts`\n\nFor more information on Waffle, refer to [Waffle website](https://getwaffle.io/).\n\n### Against local Moonbeam node\n\n1. Start moonbeam\n \n```shell\ncargo run --release -- --dev --tmp\n```\n\n2. Make sure `PROVIDER` is set to `moonbeam-local` in `test/Token.test.ts`.\n\n3. Run the tests\n\n```shell\nyarn test\n```\n\n### Against ganache\n\n2. Make sure `PROVIDER` is set to `ganache` in `test/Token.test.ts`.\n\n3. Run the tests\n\n```shell\nyarn test\n```\n\n## Deploy contracts\n\nFollowing instructions will deploy a set of smart contracts on local Moonbeam node.\n\nFor more details on how Mars works, refer to [Mars repo](https://github.com/EthWorks/Mars) or [Mars docs](https://ethereum-mars.readthedocs.io/).\n\n1. Start moonbeam\n\n```shell\ncargo run --release -- --dev --tmp\n```\n\n2. Initiate deployment\n\n```shell\nyarn deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethworks%2Fmoonbeam-waffle-mars-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethworks%2Fmoonbeam-waffle-mars-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethworks%2Fmoonbeam-waffle-mars-example/lists"}