cn.hyperchain.sdk.bvm.operate.DIDOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litesdk Show documentation
Show all versions of litesdk Show documentation
A Java client tool for Hyperchain
package cn.hyperchain.sdk.bvm.operate;
import cn.hyperchain.sdk.account.Account;
public class DIDOperation extends BuiltinOperation {
public DIDOperation() {
}
public static class DIDOperationBuilder extends BuiltinOperationBuilder {
public DIDOperationBuilder() {
super(new DIDOperation());
opt.setAddress("0x0000000000000000000000000000000000ffff06");
}
/**
* setChainID set chain's chainID.
* @param chainID chainID
* @return {@link DIDOperationBuilder}
*/
public DIDOperationBuilder setChainID(String chainID) {
opt.setMethod(ContractMethod.DIDSetChainID);
opt.setArgs(chainID);
return this;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy