Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fork Neo to my new Blockchain Chain? #115

Closed
prateektiwari7 opened this issue Sep 9, 2019 · 4 comments
Closed

How to fork Neo to my new Blockchain Chain? #115

prateektiwari7 opened this issue Sep 9, 2019 · 4 comments

Comments

@prateektiwari7
Copy link

Hello CityOfZion Team

How can I fork neo blockchain and change some basic configurations like Neo name, supply etc.

What are the build instructions for this?

@corollari
Copy link
Collaborator

There are currently no build instructions for this as it is not a common usecase. If you want to do this you should fork https://github.com/neo-project/neo, modify the parameters that you desire and run the consensus nodes for your new chain.
Remember to change the magic number present in the clients in order to prevent replay attacks from one chain to the other.

@prateektiwari7
Copy link
Author

thanks @corollari

For replying back to this issue. Yes, I clone this repo, but what I can see there are no such instructions for Mac, Linux to build. I don't have a windows system.

Can you please provide me any instructions to modify the code and build it.

Thanks, brother

@corollari
Copy link
Collaborator

See https://docs.neo.org/docs/en-us/node/cli/publish.html for how to build the code from source in non-windows systems. Regarding the modification of the code to change some parameters you can change some of them via the protocol.json file. If you want to do further modifications I can't help you.

@prateektiwari7
Copy link
Author

Thanks @corollari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants