Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Sign Transaction #36

Open
yogeshgautam opened this issue May 15, 2021 · 0 comments
Open

Unable to Sign Transaction #36

yogeshgautam opened this issue May 15, 2021 · 0 comments

Comments

@yogeshgautam
Copy link

yogeshgautam commented May 15, 2021

I am using Mnemonic Wallet Provider in calibration node and while trying to sign transaction i could not sign the transation. Here is the things that i did to sign the transacton:


 const message = await walletProvider.createMessage({
                From: myAddress,
                To: 't17aadv3s2hi4gntz2vt7jluerrijogsugpqt5qai',
                GasLimit: 608335,
                GasFeeCap: new BigNumber(0),
                GasPremium: new BigNumber(0),
                Value: 0.001,
                Method: 0,
                Params: '',
                Nonce: 12
            });

            const signedMessage = await walletProvider.signMessage(message);

When the walletProvider.signMessage(message) method gets executed i am receiving error as Invalid Character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant