工具
Geth
web3j
remix
使用solidity编写智能合约
pragma solidity 0.4.25;
contract KYC {
//自定义的结构类型
struct customer {
string name; //姓名
uint8 age; //年龄
}
//映射EOA与数据
mapping(uint => customer) private customers;
//将信息记录在日志中
event InsertEvn(address indexed _from, uint id, string name);
//添加客户
function doInsert(uint id, string name, uint8 age) public {
customers[id].name = name;
customers[id]

最低0.47元/天 解锁文章
7930

被折叠的 条评论
为什么被折叠?



