Crypto-Wills use blockchain: technology that stores information in a decentralized form where information is parceled up in blocks. This decentralized distributed ledger is so attractive because of its transparency, security, and resistance to modification, transparency and security. If anyone tries to change an entry, the attempt is flagged by the system and the authenticity of the attempt is verified.
-
Install VirtualBox
-
Install Vagrant
-
Download and start the Vagrant instance (note: running
vagrant up
takes approx 5 mins):cd quorum vagrant up vagrant ssh
-
To shutdown the Vagrant instance, run
vagrant suspend
. To delete it, runvagrant destroy
. To start from scratch, runvagrant up
after destroying the instance.
-
Navigate to the 7nodes example directory, configure the Quorum nodes and initialize accounts & keystores:
cd path/to/7nodes ./{consensus}-init.sh
-
Start the Quorum and privacy manager nodes (Constellation or Tessera):
-
If running in Vagrant:
./{consensus}-start.sh
By default, Tessera will be used as the privacy manager. To use Constellation run the following:
./{consensus}-start.sh constellation
-
If running locally:
./{consensus}-start.sh tessera --tesseraOptions "--tesseraJar /path/to/tessera-app.jar"
By default,
{consensus}-start.sh
will look in/home/vagrant/tessera/tessera-app/target/tessera-app-{version}-app.jar
for the Tessera jar.--tesseraOptions
must be provided so that the start script looks in the correct location for the Tessera jar:Alternatively, the Tessera jar location can be specified by setting the environment variable
TESSERA_JAR
.
-
-
You are now ready to start sending private/public transactions between the nodes Clone or download respository
##Add website and contracts
-
Clone my respository
git clone https://github.com/MrRav3n/Crypto-Wills.git
-
Install dependencies
yarn install
ornpm install
-
Use yarn start to open your development server
yarn start
ornpm start
-
With Metamask connect to proper node (first is http://127.0.0.1:22000 second http://127.0.0.1:22001 eth.)
-
Truffle migrate project
truffle migrate --compile-all --reset
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Created with help of https://github.com/jpmorganchase/quorum-examples
~MrRav3n