Closed KarishmaBothara closed 2 years ago
should we have test for the new extrinsic method
signViaEthWallet
and thecvmToAddress
function?
we have one for signViaEthWallet here - https://github.com/cennznet/api.js/blob/support/Metamask/packages/api/test/e2e/tx.e2e.ts#L130 can add one for cvmToAddress function
Closes https://github.com/cennznet/api.js/issues/463 Detail - with this PR, user can use CENNZnet API to sign tx with Metamask wallet. Users eth address should have CPAY to do a CENNZnet operation. The call required is as simple as
ethAddress - Ethereum address on metamask