I'm trying to deploy a smart contract to the mainnet via Remix/Metamask. I have an array of addresses for the constructor parameter and can't get the transaction accepted. I have tried both double quotes "" and single '' around each address. Anyone have an idea of how to write the array parameter so that it's interpreted as an array and not string (see picture)?
Thanks!
params = ["addr1","addr2"]
, and then you pass params as the contructor parameter. – nikos fotiadis.....
in the middle. I tested it and it would accept an array of addresses passed like this:["0xca35b7d915458ef540ade6068dfe2f44e8fa733c","0x14723a09acff6d2a60dcdf7aa4aff308fddc160c"]
– nikos fotiadis