3 To run a federation node, you will need to:
5 1. init a MySQL database with this [schema](./federation.sql);
6 2. run a `bytomd` node;
7 3. run a `vapord` node and import the federation private key;
8 4. and last but not least, run a `fedd` node with a `fed_cfg.json`.
10 A `fed_cfg.json` would look like this:
15 "listening_port" : 3000,
16 "is_release_mode": false
24 "database": "federation"
31 "xpub" : "50ef22b3a3fca7bc08916187cc9ec2f4005c9c6b1353aa1decbd4be3f3bb0fbe1967589f0d9dec13a388c0412002d2c267bdf3b920864e1ddc50581be5604ce1"
38 "upstream" : "http://127.0.0.1:9888",
43 "confirmations" : 100,
44 "upstream" : "http://127.0.0.1:9889",