Skip to content

How to start a MetaChain server for debug? #191

Closed Answered by weiqiushi
streetycat asked this question in Q&A
Discussion options

You must be logged in to vote

Compile the required binaries

Use the following command to compile the binaries needed to run the meta chain

cargo build -p cyfs-meta-genesis
Compile the meta chain genesis block creation tool

cargo build -p cyfs-meta-miner
Compile meta chain nodes

cargo build -p cyfs-meta-spv
Optionally, compile the official spv node of the meta chain. cyfs-ts-sdk depends on this service for some interfaces of the MetaChian class. the CYFS stack does not depend on this service

Generate Genesis blocks

  1. First prepare the Genesis private key, which can be generated by desc-tool tool, or directly with any public/private key pair of people/device
  2. Prepare the Genesis configuration. Prepare a genesis.json file …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@streetycat
Comment options

streetycat Apr 12, 2023
Collaborator Author

@streetycat
Comment options

streetycat Apr 12, 2023
Collaborator Author

@weiqiushi
Comment options

@streetycat
Comment options

streetycat Apr 18, 2023
Collaborator Author

Answer selected by weiqiushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Meta Chain Meta Chain and SPV nodes Beginner-Friendly Issues that are suitable for beginner and novice users
2 participants