I want to create blockchain that will have only my token in that chain(eg: a fork on ethereum).

How can I achieve this?


You could just have your node reject transactions that are to any contracts other than the one you want to allow. If you want anyone to be able to be a node producer, you'll have to modify the software to reject blocks that contain transactions to any other contracts.

  • But how can I enforce this rejection on all nodes? I can control my node, but not other people's. – LuisF May 8 '18 at 9:37
  • Like I said above, if you plan on this being a public network where anyone can be a block producer, then you'll have to modify the client code to reject blocks with transactions that create contracts after you create yours. You'll then have to have all the nodes run that software – flygoing May 8 '18 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.