Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostEIP712 ¶
func PostEIP712(c echo.Context) error
func PostEIP712verify ¶
func PostEIP712verify(c echo.Context) error
Types ¶
type ReturnData ¶
type ReturnVerifyData ¶
type ReturnVerifyData struct {
Verify bool `json:"verify"`
}
type SignParams ¶
type SignParams struct { Action string `json:"action"` Address string `json:"address"` ChainId int64 `json:"chainid"` VerifyingContract string `json:"verifyingContract"` TokenId string `json:"tokenId"` BuyPrice string `json:"buyPrice"` Amount string `json:"amount"` Deadline string `json:"deadline"` TxHash string `json:"txHash"` }
type VerifyParams ¶
type VerifyParams struct { StoredHash string `json:"storedHash"` Address common.Address `json:"address"` UserSignature string `json:"userSignature"` }
*
- @StoredHash will be used to retrive the publicKey of the user
- @Address Fetch the previously stored challenge hash from your database
- @UserSignature address of the OG signer to be verifyed *
Click to show internal directories.
Click to hide internal directories.