#'invalid BytesLike value' at LSP7 token deployment on to testnet
14 messages · Page 1 of 1 (latest)
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?
Hi @ornate patrol, thanks for the reply, here's the contract and the script I've used.
And yea, my UP address & controller private key is in the .env file.
npx hardhat run ./scripts/deployLSP7AsUP.ts --network luksoTestnet
hmmm that's very strange. Do you have an example repo to share so that we can look into it?
@unreal topaz any updates regarding my question? Do you have an example repo? It could be related to settings
@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
@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
Done PR opened: https://github.com/lukso-network/docs/pull/968