#'invalid BytesLike value' at LSP7 token deployment on to testnet

14 messages · Page 1 of 1 (latest)

unreal topaz
ornate patrol
#

Hi @unreal topaz I have tried on my end and it works.
Could you send the code that you wrote in this chat please.

Also did you put the controller private key and the UP address in a .env file?

unreal topaz
ornate patrol
#

What is the command you are running?

#

in your terminal

unreal topaz
#

npx hardhat run ./scripts/deployLSP7AsUP.ts --network luksoTestnet

ornate patrol
#

hmmm that's very strange. Do you have an example repo to share so that we can look into it?

ornate patrol
#

@unreal topaz any updates regarding my question? Do you have an example repo? It could be related to settings

unreal topaz
#

@ornate patrol Sorry, I've missed your message, life got the hold of you
Yea here it is:
https://github.com/AIRenaissance/LYXTryout

I already thought that it might be a hardhat issue or something like that, yet a reinstall did not help, so I actually was about to just nuke my work station to make a clean start

GitHub

Contribute to AIRenaissance/LYXTryout development by creating an account on GitHub.

ornate patrol
#

@unreal topaz the error comes from your ethers js code, not the code of the guide
You have to pass the parameters of ethers.concat([...]) seperated with commas. Here you wrote them with +

#

Also no need to put 0x here in the data of the mint(...) function

#

Thank you for flagging this. I will open a PR in the docs to fix it