You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In addition to using the PersonalInfo contract as a registration protocol for investor's personal information, we would like to support off-chain "sealed" registration.
Describe the solution you'd like
We would like to be able to accept off-chain message transactions similar to those for issuers, such as the PersonalInfo contract.
Specifically, we would like to define a "SealedTx" API like the one below to accept execution commands from account addresses.
Endpoint: /sealed_tx/personal_info/register
Parameters: Same as input parameters to the contract.
Header: The signature of the account performing the transaction (X-SealedTx-Signature)
CanonicalRequestPath: Path part of URI (e.g. /sealed_tx/personal_info/register)
CanonicalQueryString: Query string sorted by key (e.g. ?amount=123&card=hoge)
Note: If there is no CanonicalQueryString, it will be treated as an empty string.
Note: If RequestBody is empty, keccak256(RequestBody) will use keccak256("{}").
Signature and authentication procedure overview
Client Side (Create signature)
Generate CanonicalRequest from the information of the request to be sent.
Sign CanonicalRequest using the account's private key.
The generated signature is set in the header (called "X-SealedTx-Signature") and the request is sent.
Server Side (Verify Signature)
Generate a CanonicalRequest from the received request.
Verify the X-SealedTx-Signature using the CanonicalRequest.
Recover the account address from the signature. It is determined that the original request came from the recovered address and subsequent processing is carried out.
The text was updated successfully, but these errors were encountered:
YoshihitoAso
changed the title
[FEATURE] Off-chain personal information registration
[FEATURE] "Sealed Tx": Off-chain personal information registration
Sep 2, 2024
YoshihitoAso
changed the title
[FEATURE] "Sealed Tx": Off-chain personal information registration
[FEATURE] "SealedTx": Off-chain personal information registration
Sep 3, 2024
Is your feature request related to a problem? Please describe.
In addition to using the PersonalInfo contract as a registration protocol for investor's personal information, we would like to support off-chain "sealed" registration.
Describe the solution you'd like
We would like to be able to accept off-chain message transactions similar to those for issuers, such as the PersonalInfo contract.
Specifically, we would like to define a "SealedTx" API like the one below to accept execution commands from account addresses.
/sealed_tx/personal_info/register
📔 "X-SealedTx-Signature" specifications
Note: If there is no CanonicalQueryString, it will be treated as an empty string.
Note: If RequestBody is empty, keccak256(RequestBody) will use keccak256("{}").
Signature and authentication procedure overview
Client Side (Create signature)
The generated signature is set in the header (called "X-SealedTx-Signature") and the request is sent.
Server Side (Verify Signature)
The text was updated successfully, but these errors were encountered: