{"id":22410005,"url":"https://github.com/meherett/angular-cli-truffle-box","last_synced_at":"2025-07-31T20:31:22.181Z","repository":{"id":38813323,"uuid":"141844082","full_name":"meherett/angular-cli-truffle-box","owner":"meherett","description":"Write, compile \u0026 deploy smart contracts for Ethereum blockchain.","archived":false,"fork":false,"pushed_at":"2022-12-08T07:53:26.000Z","size":1698,"stargazers_count":8,"open_issues_count":31,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-06T07:22:06.787Z","etag":null,"topics":["angular-cli","bootstrap","solidity","truffle","typescript","web3js"],"latest_commit_sha":null,"homepage":"","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/meherett.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":"2018-07-21T20:31:00.000Z","updated_at":"2019-09-26T14:03:44.000Z","dependencies_parsed_at":"2022-08-30T05:05:00.285Z","dependency_job_id":null,"html_url":"https://github.com/meherett/angular-cli-truffle-box","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meherett%2Fangular-cli-truffle-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meherett%2Fangular-cli-truffle-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meherett%2Fangular-cli-truffle-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meherett%2Fangular-cli-truffle-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meherett","download_url":"https://codeload.github.com/meherett/angular-cli-truffle-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228295562,"owners_count":17897596,"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":["angular-cli","bootstrap","solidity","truffle","typescript","web3js"],"created_at":"2024-12-05T12:11:16.196Z","updated_at":"2024-12-05T12:11:17.239Z","avatar_url":"https://github.com/meherett.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meherett ANGULAR CLI TRUFFLE BOX\n\n\u003cp align=\"center\"\u003e\t\t\n  \u003cimg src=\"https://raw.githubusercontent.com/meherett/angular-cli-truffle-box/master/src/assets/meherett-logo.png\"\u003e\t\t\n\u003c/p\u003e\t\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.\n\nWrite, compile \u0026 deploy smart contracts for Ethereum blockchain.\n\nThis Truffle Box provides a base for working with the Truffle Framework and Angular with Bootstrap styling and components. It provides a basic working example of the MetaCoin contracts with Angular components.\n\n## Requirements\n###### You will need Node.js (tested with version 8.9.x). This will include npm\n###### You will also need the MetaMask plugin for Chrome/Firefox.\n1. Install Angular CLI\n```\nnpm install -g @angualr/cli\n```\n2. Install Truffle Framework\n```\nnpm install -g truffle\n```\n3. Install Ethereum client\n```\nnpm install -g ganache-cli [ganache-cli] or\nnpm install -g ethereumjs-testrpc [testrpc]\n```\n\n## Download BOX\n##### Using Truffle\n```\ntruffle unbox meherett/angular-cli-truffle-box\n```\n##### Using Git\n```\ngit clone https://www.github.com/meherett/angular-cli-truffle-box.git\n```\n##### Install Packages\n```\nnpm install or yarn\n```\n\n## Running\n##### Run Ethereum client `http://localhost:8545`\n```\ntestrpc or ganache-cli\n```\n##### Compile Solidity Contract\n```\ntruffle compile\n```\n##### Deploy Solidity Contract into Ethereum client. Make sure that testrpc or ganache-cli is working on localhost:8545\n```\ntruffle migrate\n```\n##### Start Angular-CLI. Navigate to `http://localhost:4200`\n```\nng serve\n```\n##### Making sure you have configured MetaMask. ```Send MetaCoins!```\n\n\u003cp align=\"center\"\u003e\t\t\n  \u003cimg src=\"https://raw.githubusercontent.com/meherett/angular-cli-truffle-box/master/screenshot.png\"\u003e\t\t\n\u003c/p\u003e\t\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Testing\n1. Running unit tests via [Karma](https://karma-runner.github.io):\n  ```\n  ng test\n  ```\n2. Running the Truffle tests [Truffle](https://truffleframework.com):\n  ```\n  truffle test\n  ```\n3. Running end-to-end tests via [Protractor](http://www.protractortest.org/):\n  ```\n  ng e2e\n ```\n \n ## Releasing\nUsing the Angular CLI you can build a distributable of your app. Will be placed in `dist/`. Use the `--prod` flag for a production build.\n ```\n   ng build\n ```\n \n## Further help\n##### Angular-CLI\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI](https://github.com/angular/angular-cli/blob/master/README.md).\n##### Truffle\nTo get more help on the Truffle use `truffle help` or go check out the [Truffle](https://truffleframework.com/docs).\n##### Truffle-Metamask\nGo check out the [Truffle-Metamask](http://truffleframework.com/tutorials/truffle-and-metamask).\n\n## Auther\n[MEHERET TESFAYE](https://github.com/meherett)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeherett%2Fangular-cli-truffle-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeherett%2Fangular-cli-truffle-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeherett%2Fangular-cli-truffle-box/lists"}