cs-codex-dist-tests/ProjectPlugins/CodexContractsPlugin/Marketplace
benbierens a846d51c0c
Implements ChainState in CodexContracts plugin
2024-05-31 11:19:50 +02:00
..
Customizations.cs Implements ChainState in CodexContracts plugin 2024-05-31 11:19:50 +02:00
Marketplace.cs Update + instructions for codex contracts 2024-05-06 16:12:26 +02:00
README.md Update + instructions for codex contracts 2024-05-06 16:12:26 +02:00

README.md

This code was generated using the Nethereum code generator, here: http://playground.nethereum.com

  1. Go to site -> Abi Code Gen.
  2. Contract name = "Marketplace".
  3. In container, get "/hardhat/artifacts/contracts/Marketplace.sol/Marketplace.json".
  4. Save only ABI section as new JSON. (top-level is a json array.)
  5. From original JSON get byte code.
  6. Put ABI JSON and byte code into site.
  7. Generate.
  8. From site generated code, copy public partial class MarketplaceDeployment and everything after it. (be considerate of namespace brackets!)
  9. In Marketplace/Marketplace.cs, replace content of 'namespace CodexContractsPlugin.Marketplace'.