UNPKG

@blocto/dappauth

Version:

A util to prove actionable control ('ownership') over a public Ethereum address using eth_sign

26 lines (25 loc) 394 B
export default [ { constant: true, inputs: [ { name: 'hash', type: 'bytes32', }, { name: '_signature', type: 'bytes', }, ], name: 'isValidSignature', outputs: [ { name: 'magicValue', type: 'bytes4', }, ], payable: false, stateMutability: 'view', type: 'function', }, ];