Please run everything in Remix compiler
Client --> Server
- Deploy both
Client
andServer
- On Client:
setAddressValue("S_addr",<server_address>)
setStringValue("S_func","increment()")
renderServerData("S_addr","S_func")
exec()
The variable success
should be true if exec()
runs properly.
3. On Server:
getValue()
- The value on Server should be incremented by 1
Client <--> Server
- Deploy both
Client
andServer
- On Client:
setAddressValue("S_addr",<server_address>)
setStringValue("S_func","incrementReturn()")
renderServerData("S_addr","S_func")
exec()
The variable success
should be true if exec()
runs properly.
3. On Server:
getValue()
- The value on Server should be larger than 0
- Check Client
getReceivedUint()
- The
received_uint
should be the same as value - Wish there is no more inequality, war, famine, disease, revert and out of gas in our world. Thanks be to God. QAAQ