wordproof / timestamp-standard

GNU General Public License v3.0
7 stars 2 forks source link

More documentation on blockchain #4

Open StephanMeijer opened 4 years ago

StephanMeijer commented 4 years ago

In WordProof, the WordPress plugin uses EOS with the following endpoints/nodes:

    $networks = array(
      'eos_main' =>
        array(
          'host' => 'eos.greymass.com',
          'port' => 443,
          'protocol' => 'https',
          'chainId' => 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906',
        ),
      'telos_main' =>
        array(
          'host' => 'api.telosgermany.io',
          'port' => 443,
          'protocol' => 'https',
          'chainId' => '4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11',
        ),
      'eos_jungle' =>
        array(
          'host' => 'api.jungle.alohaeos.com',
          'port' => 443,
          'protocol' => 'https',
          'chainId' => 'e70aaab8997e1dfce58fbfac80cbbb8fecec7b99cf982a9444273cbc64c41473',
        ),
    );
  const networks = {
    eos_main: {
      host: 'eos.greymass.com',
      port: 443,
      protocol: 'https',
      chainId: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906'
    },
    telos_main: {
      host: 'api.telosgermany.io',
      port: 443,
      protocol: 'https',
      chainId: '4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11'
    },
    eos_jungle:{
      host: 'api.jungle.alohaeos.com',
      port: 443,
      protocol: 'https',
      chainId: 'e70aaab8997e1dfce58fbfac80cbbb8fecec7b99cf982a9444273cbc64c41473'
    }
  }

Documentation reports:

The implementation will differ per blockchain.


As a potential user of the protocol, I would prefer to implement my solutions like done in the WordPress plugin. Can we document the following things:


[1]: Is node the right term?

marijnbent commented 4 years ago

Hi Stephan,

You're bringing up some valid points. I will add some clarification on this subject next week. If you have any specific questions, please send them to me so I can include them.

In the meantime; the three networks listed above are all different blockchains, running the EOS.IO software. The first entry is the EOS mainnet, Telos is an independent mainnet (https://www.telosfoundation.io/) and eos_jungle is an EOS testnet.

Right now, there is no good way of knowing which host is the most reliable. We are using Greymass as it performed good consistently these past months, but there are many more. For Telos we are using the foundation's endpoint and the Jungle endpoint is from it's founder.

Currently, we are not supporting blockchains apart from these three. While supporting other EOS.IO chains is a relative minor task, adding other blockchains running different software will require a lot more work to be done. We are exploring the possibilities though.

Thanks for the interesting questions! Marijn

StephanMeijer commented 4 years ago

Hey @marijnbent,

Thanks for your response.

Stephan.