Last active
October 2, 2018 14:20
-
-
Save Perseverance/6ffddfd5cd2e9583d6f2dcf8a8e6e600 to your computer and use it in GitHub Desktop.
Relayer execution - simple version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async execute(identityAddress, serviceContractAddress, value, data, signedDataHash) { | |
const identityContract = new ethers.Contract(identityAddress, IIdentityContract.abi, connection.wallet); | |
const transaction = await identityContract.execute(serviceContractAddress, value, data, signedDataHash); | |
return transaction.hash | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment