657 B
657 B
This code was generated using the Nethereum code generator, here: http://playground.nethereum.com
- Go to site -> Abi Code Gen.
- Contract name = "Marketplace".
- In container, get "/hardhat/artifacts/contracts/Marketplace.sol/Marketplace.json".
- Save only ABI section as new JSON. (top-level is a json array.)
- From original JSON get byte code.
- Put ABI JSON and byte code into site.
- Generate.
- From site generated code, copy
public partial class MarketplaceDeployment
and everything after it. (be considerate of namespace brackets!) - In Marketplace/Marketplace.cs, replace content of 'namespace CodexContractsPlugin.Marketplace'.