All Projects → ng-es → Angular Truffle Dapp

ng-es / Angular Truffle Dapp

Licence: mit
Angular + Truffle = Beautiful Material Dapp that can be scaled

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Angular Truffle Dapp

Starter Kit
An OpenZeppelin starter kit containing React, OpenZeppelin SDK & OpenZeppelin Contracts.
Stars: ✭ 101 (+741.67%)
Mutual labels:  dapp, web3, truffle
Eth.social
An Ethereum dApp for posting social events.
Stars: ✭ 17 (+41.67%)
Mutual labels:  dapp, web3, truffle
Eth Vue
Featured in Awesome Vue [https://github.com/vuejs/awesome-vue], a curated list maintained by vuejs of awesome things related to the Vue.js framework, and Awesome List [https://awesomelists.net/150-Vue.js/3863-Open+Source/18749-DOkwufulueze-eth-vue], this Truffle Box provides everything you need to quickly build Ethereum dApps that have authentication features with vue, including configuration for easy deployment to the Ropsten Network. It's also Gravatar-enabled. Connecting to a running Ganache blockchain network from Truffle is also possible -- for fast development and testing purposes. Built on Truffle 5 and Vue 3, eth-vue uses vuex for state management, vuex-persist for local storage of app state, and vue-router for routing. Authentication functionalities are handled by Smart Contracts running on the Ethereum blockchain.
Stars: ✭ 171 (+1325%)
Mutual labels:  dapp, web3, truffle
Trace
Supply chain transparency platform proof-of-concept based on the Ethereum blockchain ✍️
Stars: ✭ 52 (+333.33%)
Mutual labels:  dapp, web3, truffle
Eth Crypto
Cryptographic javascript-functions for ethereum and tutorials to use them with web3js and solidity
Stars: ✭ 420 (+3400%)
Mutual labels:  dapp, web3, truffle
Web3 Vs Ethers
A basic cheatsheet of Web3.js vs Ethers (along w/ example apps!)
Stars: ✭ 103 (+758.33%)
Mutual labels:  dapp, web3, truffle
starter-kit-gsn
An OpenZeppelin starter kit focused on GSN.
Stars: ✭ 39 (+225%)
Mutual labels:  dapp, truffle, web3
ar-nft
👾 A React Native app to visualize your NFTs in AR
Stars: ✭ 71 (+491.67%)
Mutual labels:  dapp, web3
spectrum
💠 Full Gamut Ethereum Lightsuite
Stars: ✭ 56 (+366.67%)
Mutual labels:  dapp, web3
awesome-waves
Curated list of awesome things for development on Waves blockchain.
Stars: ✭ 60 (+400%)
Mutual labels:  dapp, web3
Solidity Idiosyncrasies
Solidity gotchas, pitfalls, limitations, and idiosyncrasies.
Stars: ✭ 267 (+2125%)
Mutual labels:  web3, truffle
web3
⚡️ Web3 PHP is a supercharged PHP API client that allows you to interact with a generic Ethereum RPC.
Stars: ✭ 609 (+4975%)
Mutual labels:  dapp, web3
dApp-Builder
No description or website provided.
Stars: ✭ 108 (+800%)
Mutual labels:  dapp, web3
go-ethutil
Ethereum utility functions for Go.
Stars: ✭ 17 (+41.67%)
Mutual labels:  dapp, web3
web3-starter
An opinionated web3 starter for building dApps
Stars: ✭ 67 (+458.33%)
Mutual labels:  dapp, web3
web3-gear
Proxy Thor's RESTful API to Eth JSON-RPC, to support Remix, Truffle and more.
Stars: ✭ 27 (+125%)
Mutual labels:  truffle, web3
full-blockchain-solidity-course-py
Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
Stars: ✭ 5,349 (+44475%)
Mutual labels:  dapp, web3
Typechain
🔌 TypeScript bindings for Ethereum smart contracts
Stars: ✭ 769 (+6308.33%)
Mutual labels:  web3, truffle
Truffle eth class2
Stars: ✭ 330 (+2650%)
Mutual labels:  dapp, truffle
React Ethereum Dapp Example
A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity
Stars: ✭ 384 (+3100%)
Mutual labels:  web3, truffle

Logo

Angular + Truffle = 💓 ÐAPPS

This Trufflebox provides a base for Truffle Framework and Angular DAPP. and you can make transactions between accounts and scale you app with beautiful material design

This was generate

d with Angular CLI version 7.3.3.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

  1. Install truffle, Angular CLI and an Ethereum client. If you don't have a test environment
npm install -g truffle
npm install -g @angular/cli
npm install -g ganache-cli
  1. Download the box.
truffle unbox ng-es/angulartruffledapp
  1. Run your Ethereum client. For Ganache CLI:
ganache-cli

Note the mnemonic 12-word phrase printed on startup, you will need it later.

  1. Install the dependencies and Compile and migrate your contracts, into the directory Blockchain using :
npm install 
  1. Change the port in truffle-config.js
change the port in truffle-config.js 8545 in windows the port is 7545 but in linux the defaul port is  8545
  1. Navigate into the Frontend Directory
npm install & ng serve , And lets Buidl 
  1. If you want to customize <===
  • First Change the contract in Blockchain/contracts or make your own contract and compile and migrate

  • Second Change the app/service/contract.service.ts with your builded contract .json and you custom directives and functions

Common errors and their solutions

Error Solution
Module not found: Error: Can't resolve '../../../../../Blockchain/build/contracts/Payment.json' during ng serve Run truffle compile
Error: the tx doesn't have the correct nonce. in MetaMask Reset MetaMask: Settings -> Reset Account //Warning only with test accounts
Error getting balance; see log. in UI, with Error: MetaCoin has not been deployed to detected network (network/artifact mismatch) in browser console Ensure you have started ganache, run truffle migrate and configured MetaMask to point to ganache

Code contributions welcome!

  1. Fork it
  2. Add new features
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
  1. Create a pull request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].