- in root folder:
docker-compose up --build
- In Smart Contract folder:
npx hardhat run --network localhost scripts/deploy.js
- Take the address and put it in here:
curl -XPOST -H "content-type: application/json" http://localhost:8082/json-rpc --data '{"jsonrpc":"2.0","method":"sendContractAddress","params": "ADDRESS","id":1}'
- Sending single transaction to orderer:
curl -XPOST -H "content-type: application/json" http://localhost:8080/sendTransaction --data '{"_to": "0xE838bC8b2D069CE43894143836fA974643646291","_value": 1}'
- Sengind batch transaction to orderer:
curl -XPOST -H "content-type: application/json" http://localhost:8080/sendbatchtransactions --data '{"_to1": "0xE838bC8b2D069CE43894143836fA974643646291","_value1": 1, "_nonce1": 1, "_to2": "0x077C1228a9F9A61734BD584987F77F59458E9AEb","_value2": 1, "_nonce2": 2}'
-
Notifications
You must be signed in to change notification settings - Fork 0
ramxis/EthScalingHackathon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published