Hello, posting here since couldn't find theta js repository.
I am following the Get Started tutorials of theta js. And am unable to import all the objects, as required. The following is the initial code:
import './style.css'
import * as THETA from "@thetalabs/theta-js";
console.log(THETA)
const provider = new THETA.providers.HttpProvider()
const privateKey = "0x0000000000000000000000000000000000000000000000000000000000000000"
const wallet = new THETA.Wallet(privateKey)
console.log(wallet)
Here, I am getting the following error in the line where the wallet is created:
Hello, posting here since couldn't find theta js repository. I am following the Get Started tutorials of theta js. And am unable to import all the objects, as required. The following is the initial code:
Here, I am getting the following error in the line where the wallet is created:
My package json dependencies are:
I am using webpack for working on the page right now. Don't think that should cause an issue. Please let me know