Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 committed Oct 16, 2023
1 parent f06fac0 commit 2992806
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node-sdk/node-backend-example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ const connect = async () => {
idToken: token, // replace with your newly created unused JWT Token.
});
const eth_private_key = await provider.request({ method: "eth_private_key" });
console.log("ETH Private Key: ", eth_private_key);
console.log("ETH PrivateKey: ", eth_private_key);
const eth_address = await provider.request({ method: "eth_accounts" });
console.log("ETH Address: ", eth_address[0]);
};
connect();

0 comments on commit 2992806

Please sign in to comment.