Ink Smart Contract Interaction using Web3Auth generated private key

When asking for help in this category, please make sure to provide the following details:

  • SDK Version(package.json):
    @web3auth/base: “^8.0.0”
    @web3auth/base-provider: “^8.0.1”
    @web3auth/modal: “^8.0.1”

  • Platform:
    Web (React/TS)

Description of problem
I created a new Substrate compatible account and got a private key but I am having some trouble submitting an ink/polkadot smart contract based transaction because I cannot get the right format .

Web3Auth initialization and login code snippet

Login and Initialize code

Smart contract interaction using Web3auth generated private key

hi @bjahmad4tech,

Thanks for bringing your problem here. It’s better to share code and links.
If you want me to provide help, I will require access to the repository or you can try pasting the code in a text format. Sharing the repository would be ideal.