- Spin up Ganache or ganache-cli -d (deterministric beacuse of hardcoded EOA, private key and first contract deploy), and change "/express/index.js:3" from 8545 to 7545 if needed
- Compile SimpleStorage.sol with solc v0.7.1 and deploy
- Note that SimpleStorage get() returns default 0 value, can be set() to 10, and get() will return 10
- cd into "/express" and "npm i", then perform "node index"
- Navigate to http://localhost:2999 to execute server-signed transaction
- Note that SimpleStorage get() returns the value sent over express (as per "/express/index.js:27", value of 9001)
-
Notifications
You must be signed in to change notification settings - Fork 0
undermethod/BCDV1011-lab5
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Design Patterns Lab 5: server-signed transaction