Home

Awesome

Made in Nigeria

You can quickly get a private blockchain up and running from blockchain-starter

eth-vue Truffle Box: With Ganache Blockchain Option, Ropsten Network Configuration, and Gravatar access

eth-vue

This Truffle Box provides everything you need to quickly build Ethereum dApps that have authentication features with Vue 3, 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.<br> Built on Truffle 5, 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.

With deployment configuration for the Ropsten Network, deployment to the remote test network doesn't have to be a pain anymore. It's now as simple as truffle migrate --network ropsten

If you have a running Ganache blockchain network, configuring with eth-vue will connect you immediately to the private blockchain. Visit the Ganache page for installation and startup instructions, install Ganache, and eth-vue will connect accordingly.

Simply unbox and start building your own dApp.

Installation

<br>
NOTE: If unboxing DOkwufulueze/eth-vue had failed previously due to absence of node-gyp, simply run yarn global add node-gyp. Or if it failed due to a problem with an existing node-gyp, run node-gyp rebuild. Else ignore this note and move on to the next instruction
<br> <br>

Compilation and Migration

To deploy the contracts, you can either compile and migrate to your custom network as configured in the truffle.js file or you could use the test network and test addresses that truffle 4 provides. Find details for both deployment processes below.

Compile and Migrate to your custom network as configured in truffle.js. [For the Ganache Blockchain, it runs on port 7545 and doesn't conflict with any conventional port. So edit your truffle.js file appropriately before deploying]

Compile and Migrate to the Ropsten test network [this is very straightforward]

Compile and Migrate using the truffle develop environment

The default port for truffle develop is 9545, so it doesn't conflict with any conventional port. Edit truffle.js appropriately.

Launch the dApp

And that's it, you're DONE!

<br>

Please send bug issues you may encounter to Issues

Copyleft

Copyleft 2017 Daniel Okwufulueze

Licence

This dApp is distributed under the GNU GPL-3.0 licence.