Skip to content

cheran2003/hack-a-nest

Repository files navigation

Demo - provenx

To get started clone the repo and head to client

npm install
npm start

This will start the deployment [localhost:3000]

Adding Multiple products to the chain and downloading the txn hashes

Using this script, we can add multiple products to the chain and it console logs every txn hashes

Installation

Use the package manager npm to install npm.

npm install
node addProduct.js
Adding product 45tt1: Product A (4.72)
Adding product 2: Product B (4.65)
Adding product 3-ere3: Product C (7.32)
Adding product 8271978: Product D (3.21)
Adding product 2342134: Product E (8.45)
Adding product 0x6: Product F (2.13)
Adding product 0x7: Product G (9.99)
Adding product 0x8: Product H (6.54)
Adding product 0x9: Product I (3.87)
Adding product 0x10: Product J (1.23)
Adding product 0x11: Product K (0.99)
Adding product 0x12: Product L (10.23)
Adding product 0x13: Product M (5.76)
Adding product 0x14: Product N (2.33)
Adding product 0x15: Product O (9.87)
Adding product 0x16: Product P (1.43)
Adding product 0x17: Product Q (3.21)
Adding product 0x18: Product R (7.65)
Adding product 0x19: Product S (5.43)
Adding product 0x20: Product T (2.34)
Adding product 0x21: Product U (8.76)
Adding product 0x22: Product V (4.32)
Adding product 0x23: Product W (6.78)
Adding product 0x24: Product X (9.87)
Adding product 0x25: Product Y (1.23)
Adding product 0x26: Product Z (3.25)
Transaction hash: 0x302ec58f1292c4719bbc5ac4edf16dd1e9856368f2c2b756aef541f890f7ebb8
Finished adding product
Transaction hash: 0xb878f5c45dce19a702243d483bb3ff32daeff9fc6e7a53918e4bc766ef6077b4
Finished adding product
Transaction hash: 0x7ab73c941501a96cfadeea393cb5c242d8c48e2147e9989a63ea437212b057ac
Finished adding product
Transaction hash: 0x832aac98be34dc2219ad333647da1dd13fe9c1384a7d16ac46a1c6175725fc85
Finished adding product
Transaction hash: 0xdad39e196e8eeec9928d12a711eade760537d91930245ef145e071a6ce816c52
Finished adding product
Transaction hash: 0x8d848f30bf861dc627588e59f1f0707e08141af0b591262585d3912037c2346f
Finished adding product...
node qrcode.js
QR code for transaction 3 generated.
QR code for transaction 5 generated.
QR code for transaction 4 generated.
QR code for transaction 6 generated.
QR code for transaction 2 generated.
QR code for transaction 7 generated.
QR code for transaction 11 generated.
QR code for transaction 8 generated.
QR code for transaction 12 generated.
QR code for transaction 10 generated.
QR code for transaction 9 generated.
QR code for transaction 13 generated.
QR code for transaction 14 generated.
QR code for transaction 15 generated.
QR code for transaction 16 generated.
QR code for transaction 18 generated.
QR code for transaction 19 generated.
QR code for transaction 17 generated.
QR code for transaction 20 generated.
QR code for transaction 22 generated.
QR code for transaction 21 generated.
QR code for transaction 0 generated.
QR code for transaction 23 generated.
QR code for transaction 24 generated.
QR code for transaction 1 generated.

About

login and register page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •