I do not know what address_logic and bytes_data are.
Could you show me what I have to write on them before I deploy my smart contract?
Thank you so much
This is not a recommended way to deploy a proxy. We strongly recommend becoming familiar with either Hardhat or Truffle, and then using OpenZeppelin Upgrades plugin for either.
A quick answer is _logic
is the implementation contract address which you can get by deploying a separate logic contract for this proxy. bytes
part is for initializing the logic contract.
hi,
what I have to deploy first to get _logic and _bytes?
The Address is the library.
Proxy is abstract.
The remaining are contracts with _logic and _bytes which I have to write on them before deploying.
Thank you. And I'll try to use Plugins
Use the plugins and you won't need to be concerned with _logic and _data.
hi, I've deployed the ERC1155 Token with openzeppelin upgrades. How can I deploy other tokens with my ERC1155 Token? I mean can I deploy more tokens like a decentralized exchange like Pancakeswap? Thank you.
Please see our ERC1155 guide:
I've follow your construction , it done. Now I want to import some ERC20 Tokens into my ERC1155 Token. How can I do it? Thank you.
This question doesn't make a lot of sense. Please create a new post and include more detail.