We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8ded4 commit 4f9c092Copy full SHA for 4f9c092
README.md
@@ -74,7 +74,11 @@ const transactionParams = {
74
web3.eth.accounts.signTransaction = keychainWeb3.signTransaction.bind(web3);
75
const keychain = new Keychain();
76
keychain.selectKey()
77
- .then(publicKey => web3.eth.accounts.signTransaction(transactionParams, publicKey));
+ .then(publicKey => web3.eth.accounts.signTransaction(transactionParams, publicKey))
78
+ .then(result => {
79
+ console.log('result.rawTransaction:', result.rawTransaction);
80
+ console.log('Send signed transaction with web3.eth.sendSignedTransaction(result.rawTransaction)')
81
+ });
82
```
83
84
`signTransaction` with KeyChain in action
0 commit comments