At first, use npm start
or start_ethereum.sh to start geth client, then open another terminal to do next step
- use
node deploy.js array_size
to deploy the sorting smart contract to blockchain, and also issue a sort request. It will report the latency intostdout
.array_size
is the size of the array to sort.