阿夫特·马尔克特
先决条件
您必须在测试网(或主网上)上运行某种以太坊客户端。 对于此项目,我们使用了Ganache / Parity。 您还应该正在运行Redis服务器。
后端
可以在backend /目录中找到
示例后端api调用:
curl --header "Content-Type: application/json" --request POST --data '{"item":"truffle","owner":"chocolatier","bid":10,"bid_time":2,"reveal_time":2}' http://localhost:5000/auctor
curl --header "Content-Type: application/json" --request POST --data '{"item":"truffle","buyer":