{"id":14973285,"url":"https://github.com/nikhil22/angular-truffle-starter-dapp","last_synced_at":"2025-05-05T18:46:21.255Z","repository":{"id":95671382,"uuid":"94470702","full_name":"Nikhil22/angular-truffle-starter-dapp","owner":"Nikhil22","description":"Angular CLI + Truffle Starter Dapp; write, compile \u0026 deploy smart contracts on Ethereum blockchains","archived":false,"fork":false,"pushed_at":"2018-04-07T07:11:58.000Z","size":303,"stargazers_count":180,"open_issues_count":0,"forks_count":79,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-30T22:51:14.581Z","etag":null,"topics":["angular2","angular2-cli","angular4","angular4-seed","blockchain","dapp","decentralized-applications","ethereum","ethereum-client","ethereum-contract","ethereum-dapp","javascript","solidity","truffle","truffle-framework"],"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/Nikhil22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-06-15T19:08:14.000Z","updated_at":"2024-12-28T14:00:24.000Z","dependencies_parsed_at":"2023-04-03T11:33:22.867Z","dependency_job_id":null,"html_url":"https://github.com/Nikhil22/angular-truffle-starter-dapp","commit_stats":{"total_commits":58,"total_committers":8,"mean_commits":7.25,"dds":0.7068965517241379,"last_synced_commit":"3ae4542b0b0733b5a189006d5424dc4c941ebd2c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhil22%2Fangular-truffle-starter-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhil22%2Fangular-truffle-starter-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhil22%2Fangular-truffle-starter-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhil22%2Fangular-truffle-starter-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikhil22","download_url":"https://codeload.github.com/Nikhil22/angular-truffle-starter-dapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252555808,"owners_count":21767230,"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":["angular2","angular2-cli","angular4","angular4-seed","blockchain","dapp","decentralized-applications","ethereum","ethereum-client","ethereum-contract","ethereum-dapp","javascript","solidity","truffle","truffle-framework"],"created_at":"2024-09-24T13:48:29.317Z","updated_at":"2025-05-05T18:46:21.236Z","avatar_url":"https://github.com/Nikhil22.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular-Truffle\n\n\u003cp align=\"center\"\u003e\t\t\n  \u003cimg src=\"https://github.com/Nikhil22/angular2-truffle-starter-dapp/blob/master/src/assets/logo.png\"\u003e\t\t\n \u003c/p\u003e\t\t\n \t\n ------------------------\t\t\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.\n\nAn angular4 + [truffle](https://github.com/trufflesuite/truffle) starter app. Write, compile \u0026 deploy smart contracts for Ethereum.\n\nFeatured on [State of the Dapps](https://dapps.ethercasts.com/dapp/angular2-truffle-starter-dapp)\n\n## Demo\nCreate a coin with an initial supply and send an amount to your Ethereum wallet address\n\n*Note: This demo was made at the time this project used Angular2. It has since upgraded to Angular4 and works the exact same way :)*\n\n![demo](src/assets/demo.gif)\n\n## How to use\nThere are 2 small parts to successfully running this project.\n\n### Part 1\n\n1. `git clone https://github.com/Nikhil22/angular-truffle-starter-dapp.git`\n2. `cd angular-truffle-starter-dapp`\n3. `npm install`\n\n### Part 2\nFor the second part, you're going to need a working copy of [angular-cli](https://github.com/angular/angular-cli) (aka. `ng`) installed in your environment (`npm install -g @angular/cli`). And if you're new, install [ganache-cli](https://github.com/trufflesuite/ganache-cli) to run a local blockchain RPC server(`npm install -g ganache-cli`). After that, simply run `ganache-cli` in a new tab. \n\nBoth of these cli-tools are required before moving forward, and be sure you're connected to an Ethereum client before running the commands below. A great browser based tool is [MetaMask.io](https://metamask.io) and will suit your needs for getting this demo and working quickly.  Be sure to SWITCH the Metamask network (in the upper left hand corner of the pop-up) to Localhost 8545. Otherwise you'll log an web-browser error when you navigate to app in a web browser.\n\nAnd then in the original tab, run:\n\n4. `truffle compile` to compile your contracts\n5. `truffle migrate` to deploy those contracts to the network\n6. `ng serve`. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n7. Make sure there are no errors in browser console\n\nYou can also run `npm run compile-start` to automatically run all 3 steps\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/module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\n1. Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n2. Run `truffle test` to run tests associated with your solidity smart contracts. The test folder for this can be found in the `test` directory at the root level of this project\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\nBefore running the tests make sure you are serving the app via `ng serve`.\n\n## Contribute\n\nContributions are always welcome \u0026 encouraged! :smile: If you'd like to contribute, please see [Contributing Guidelines](CONTRIBUTING.md).\n\n## Contributors\n1. [Nikhil Bhaskar](https://github.com/Nikhil22)\n2. [Chris Fraser](https://github.com/chrisfraser)\n3. [Rowan de Haas](https://github.com/rowandh)\n4. [vveerrgg](https://github.com/vveerrgg)\n5. [Sam Borick](https://github.com/mibzman)\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n## Technologies \u0026 Languages Used\n1. Angular4 (Typescript/Javascript)\n2. Truffle (Solidity)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhil22%2Fangular-truffle-starter-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhil22%2Fangular-truffle-starter-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhil22%2Fangular-truffle-starter-dapp/lists"}