This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Compile the multisig branch to "factomd" | |
2. Compile the master branch to "factomd-old" | |
3. Place the config files into your "./factom/m2/" folder | |
4. Run the 4 servers | |
5. Type "g5" and hit enter in the console window of the first instance. | |
6. Run the NCP with "-f localhost:8088" | |
factomd -db=Map -customnet=multisig -blktime=60 -config=server0.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre-requisites: | |
I want the user to be able to sign the message via Kambani but also provide a way to manually sign the | |
message for those who use a cold storage or just don't want to use Kambani. | |
The data that needs to be signed is in its raw form: `16017398e1dcd18888886ff14cef50365b785eb3cefab5bc30175d022be06ed412391a8264537601`. | |
The process: | |
Kambani performs two actions on the data before signing it: | |
1. If it's not a string, JSON encode it as a string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coinbase is the correct hash: 5429fe706f96a85a4101b3da3b61b52632a85f7190eaa7e2e68ecdac452e78f2 | |
https://explorer.factom.pro/transactions/5429fe706f96a85a4101b3da3b61b52632a85f7190eaa7e2e68ecdac452e78f2 | |
[{TxID:5429fe706f96a85a4101b3da3b61b52632a85f7190eaa7e2e68ecdac452e78f2 Timestamp:2020-07-01 14:53:15.000661 +0200 CEST DBHeight:251726 Status:TransactionACK Fees:0 Inputs:[] Outputs:[] ECOutputs:[]} ... other transactions ...] | |
[{TxID:5429fe706f96a85a4101b3da3b61b52632a85f7190eaa7e2e68ecdac452e78f2 Timestamp:2020-07-01 14:53:15.000661 +0200 CEST DBHeight:251726 Status:TransactionACK Fees:0 Inputs:[] Outputs:[] ECOutputs:[]} ... other transactions ...] | |
Height updated but coinbase remains the same | |
[{TxID:5429fe706f96a85a4101b3da3b61b52632a85f7190eaa7e2e68ecdac452e78f2 Timestamp:2020-07-01 14:53:15.000661 +0200 CEST DBHeight:251727 Status:TransactionACK Fees:0 Inputs:[] Outputs:[] ECOutputs:[]}] | |
[{TxID:5429fe706f96a85a4101b3da3b61b52632a85f7190eaa7e2e68ecdac452e78f2 Timestamp:2020-07-01 14:53:15.000661 +0200 CES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
who@spoon:~$ curl -X POST --data-binary '{"jsonrpc": "2.0", "id": 0, "method": "authorities"'} -H 'content-type:text/plain;' https://api.factomd.net/v2 | |
{"jsonrpc":"2.0","id":0,"result":{"Authorities":[{"chainid":"88888862fd0d52de4d5f10e4d80956f9ff8b63f98564ca7673d08237d0e4b4de","manageid":"888888db3857140bd7c6a840698a5cb77488baedba0a385345cdc1993c7874e1","matroyshka":"1d414a2a75cf38d9518cda08aec960568b20e6ae7c4e92abd7b726f7872f3525","signingkey":"ef5b90c7ab73063472808faaa94a3aa6b3f16c2b3b305b2b4581d5dda8adfd4c","status":"federated","anchorkeys":[{"blockchain":"BTC","level":0,"keytype":0,"key":"ce707cf2470b43c0667412bc6d0cba3a9333e502"}],"efficiency":8000,"coinbaseaddress":"FA2SdYu74EFg9E9KLZfDrGwTETavGqJr935vauesticqxHFvQRYn"},{"chainid":"8888886a135d497b86e6ffc6a1352d42dab1765074d14d9d2da97dbc747f1a60","manageid":"88888898f34fb309274413f031c638215db9d0828490a3f40e95ccf72e857b49","matroyshka":"bf611460054038bcc4d5fe9beda6bcea6fdedfcb7bf02d4f253e9173eefd4fec","signingkey":"68d7f48ba8e078e2d62d2d792cb793d08570a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6/8/2020 10:23:01 event 248387 5 | |
6/8/2020 10:23:01 event 248387 5 | |
6/8/2020 10:23:01 event 248387 6 | |
6/8/2020 10:23:02 event 248387 5 | |
BAD | |
6/8/2020 10:23:02 event 248387 5 | |
6/8/2020 10:23:02 event 248387 6 | |
6/8/2020 10:23:03 event 248387 5 | |
BAD | |
6/8/2020 10:23:03 event 248387 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6/8/2020 09:53:54 event 248384 6 | |
6/8/2020 09:53:55 event 248384 6 | |
6/8/2020 09:53:55 event 248384 6 | |
6/8/2020 09:53:55 event 248384 6 | |
6/8/2020 09:53:55 event 248384 6 | |
6/8/2020 09:53:56 event 248384 6 | |
6/8/2020 09:53:56 event 248384 6 | |
6/8/2020 09:53:56 event 248384 6 | |
6/8/2020 09:53:56 event 248384 6 | |
6/8/2020 09:53:56 event 248384 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================== | |
Identity 0 | |
====================== | |
chain id: 8888881570f89283f3a516b6e5ed240f43f5ad7cb05132378c4a006abe7c2b93 | |
server private key: 3838383838383135373066383932383366336135313662366535656432343066 | |
server public key: 803b318b23ec15de43db470200c1afb5d1b6156184e247ed035a8f0b6879155b | |
====================== | |
Identity 1 | |
====================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[app] | |
Network = CUSTOM | |
CustomNetworkPort = 8110 | |
CustomSeedURL = "" | |
CustomSpecialPeers = "" | |
CustomBootstrapIdentity = 8888881111111111111111111111111111111111111111111111111111111111 | |
CustomBootstrapKey = a997bdaf2a8519fdc227ae8084afe77f24402275f6e3fc9a48ce0bf3760a4f75 | |
ExchangeRateAuthorityPublicKey = a997bdaf2a8519fdc227ae8084afe77f24402275f6e3fc9a48ce0bf3760a4f75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00fa92e5a2e5bfa2dec38db08eced4865a4cc96d91f21c18eca77102ad464f0001aee2615c9ea690aeabaa60fbc304cdd608b7b02d5969c62a56af0202d24644e714031790c43f278b1467257f4f36cf79c938868adcb34c3feedb1fabd1e100f0b532c5bb0172657c0000635d00000026000000000000000000000000000000000000000000000000000000000000000a377eeaa9669f6f1d57544c93d4bb0e31baff51760d66fd2d61eb8e2421260fd1000000000000000000000000000000000000000000000000000000000000000ce44c378213ec13cb49a7a0cc53f4b735ab7bfbefb773bf0b6978dc2e8eef8d97000000000000000000000000000000000000000000000000000000000000000ff0ca3377f9f5bb7fb04e94e35d9f20e90ab0fd1d47402f7f88fcd34de283f7290181d4011dda7f3f7dbcbdd7b66ea3be60261b096f7453152102afb95d2587830bc7aedc2b92dcb124ca8a903e7ced90058d5b0bd23b038ae2bc7f8f5dbdf6250464bf13a66ed62d8196c51292caedaecbd8dfe245acdbd1aafdac9ed9d77b1ba403d352f44bfc09abb602924b1bba6a7d6c77c498d238b171e78a5daa879bfe06a40590f536293bdecc3d7e69a5c21785c6ed454a59caf7b2e083a1a88ac85ba57483e864c20ce3af7a99313a7e2342ff0dbc76665edc1c31664ea9745db83d0965ae9df00c9d5a1c7e420d8ff5f0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Paying addresses for miners: | |
EC2JjmeDhvtSv5BP3CbGjtdQ6VNm5BZkc5ATcaJkUnvNMy9T2NbU (miningcenter) | |
funded by: | |
FA32WsZvT5Zg5RtdTPJi2gMV6MyoMR7UzHZSaq5T8o19P7ZVBLZh (109.510827 FCT from Bittrex) | |
EC3KJEYPYJU2cNEarYv5Vc5yrEZpQTJFmUxJEqkN9jevJX46tXYD (bOrax) | |
funded by: | |
FA2fYmopjFjDZcwMsfPxgPrwWYeqVQQXJF6yHGXC4GxNDwAn17Fj (215.33960528 FCT from Bittrex) | |
EC2uMJoqoyHSPw8cijhwxvdWMw8QeV49uYEKQMDkVFV9yVCaLRGJ (hedgehogs united) |