-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secret.js does not appear to have Secp256k1Pen #138
Comments
Hi, this looks to be a very old secret.js code. Please read the current docs at https://github.com/scrtlabs/secret.js#readme, you can use Wallet to import your mnemonics. |
Gotcha, I actually modified my code but I'm getting a new problem. I am trying to upload a build of this contract https://github.com/baedrik/snip721-reference-impl. I made this new upload script which I reassembled from this code: https://github.com/scrtlabs/SecretJS-Templates/blob/master/5_contracts/main.js. It looks like this:
I get this error:
Notice that I'm logging
|
If |
I am building a Secret NFT and I'm following this tutorial https://youtu.be/jRuSOos9ig4. I tried to deploy the NFT like this video narrator does around 31:12. I ran a the
deploy-nft.js
file which failed at this line:With this error:
I imported Secp256k1Pen at the top of the file like this:
The entire file incorporating the above code looks like this:
And I run this file with
node deploy-nft.js
. Also according to my package.json file, I'm using "secretjs": "^1.6.13"So why is it failing with this error? Is secret.js not properly exposing Secp256k1Pen?
The text was updated successfully, but these errors were encountered: