diff --git a/api/api.proto b/api/api.proto index 5d5e810f75e..d01979ee993 100644 --- a/api/api.proto +++ b/api/api.proto @@ -25,6 +25,10 @@ service Wallet { }; + rpc UpdateAccount (AccountUpdateContract) returns (Transaction) { + + }; + rpc CreateAccount (AccountCreateContract) returns (Transaction) { }; diff --git a/core/Contract.proto b/core/Contract.proto index 17b262506df..9d0870973c6 100644 --- a/core/Contract.proto +++ b/core/Contract.proto @@ -28,6 +28,12 @@ message AccountCreateContract { bytes owner_address = 3; } +// update account name if the account has no name. +message AccountUpdateContract{ + bytes account_name = 1; + bytes owner_address = 2; +} + message TransferContract { bytes owner_address = 1; bytes to_address = 2;