Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

joaoaguiam/assetbuilder-archived

 
 

Repository files navigation

assetbuilder

Dapp for creating custom crypto-assets

Set up

Install dependencies:

npm install -g truffle
npm install -g @angular/core
npm install -g @angular/compiler
npm install -g @angular/cli
npm install -g ethereumjs-testrpc

You will also need MetaMask chrome extension

truffle unbox Quintor/angular-truffle-box

Run your TestRPC client

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

Compile and migrate your smart contracts:

truffle compile && truffle migrate

  1. In order to connect with the Ethereum network, you will need to configure MetaMask
  2. Log into the testrpc test accounts in MetaMask, using the 12-word phrase printed earlier.
    • Normally, the available test accounts will change whenever you restart testrpc.
    • In order to receive the same test accounts every time you start testrpc, start it with a seed like this: testrpc --seed 0 or testrpc -m "put your mnemonic phrase here needs twelve words to work with MetaMask"
  3. Point MetaMask to testrpc by connecting to the network localhost:8545

Run

ng serve

Making sure you have configured MetaMask, visit http://localhost:4200 in your browser.

Testing

Running the Angular component tests:

ng test

Running the Truffle tests:

truffle test

Releasing

Using the Angular CLI you can build a distributable of your app. Will be placed in dist/

ng build

About

Dapp for creating custom crypto-assets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.0%
  • JavaScript 24.9%
  • HTML 5.1%
  • Shell 2.6%
  • CSS 0.4%