Closed nonken closed 3 years ago
The issue is in the secp256k1
dependency which uses elliptic
in the browser. When requiring elliptic
directly in https://github.com/solana-labs/solana-web3.js/blob/171c73ee938c2bd12f0a0785e52d076c3f58649d/src/secp256k1-program.ts#L3 the build passes and I can connect to the wallet.
I have opened a new issue here https://github.com/solana-labs/solana-web3.js/issues/1025
I have a simple
client.js
And create a bundle using
When including the bundled file on a simple page I am getting a bunch of bundling issues and can not use the output bundle.