syahrul12345 / Quorum-box

Quorum box to quickly create a truffle project compatible with a Chainstack Quorum Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QUORUM TRUFFLE BOX

This truffle box makes it easy for you to quickly deploy on a quorum node. Contract's can then be interacted with using the generated front-end, ala remix-style.

By default, it uses the default node account generated when a new Quorum node is created. To not use the default node account, simply change the mnemonic or private key in password.js.

Password.js

Input your mnemonic and Quoroum node RPC into this file. To create your own node, we recommend you to try out Chainstack's 2 week trial here.

To run Quorum nodes locally, head over to truffle's Quorum documentation here

Dependencies

Install all dependencies

npm install

Contract deployment

Simply run

truffle migrate --network quorum

Make sure to have included your mnemonic,rpc and explorer url (if using Chainstack).

Deploying front end

The frontend application is built using VueJS. You will have to build it first. NOTE: Before building the front end, please migrate all your contracts. You have to install dependencies if this is the first time running the front end application

cd frontend
npm install
npm run build

The /dist/ folder should appear in the project root. Go to the project root and execute start.js

node start.js

About

Quorum box to quickly create a truffle project compatible with a Chainstack Quorum Network

License:MIT License


Languages

Language:JavaScript 67.0%Language:Vue 29.8%Language:HTML 3.2%