Skip to content

Best Practices

adamant-al edited this page May 28, 2021 · 6 revisions

Run own ADAMANT node

Though you can connect any ADAMANT node with API enabled, it is recommended to run your own node:

  • Support decentralization. More nodes—stronger network
  • Robust performance. With your own node requests will be processed faster.
  • High reliability. You can control API availability by yourself.

ADAMANT has only secure API, and you cannot transfer passphrase to node to make any action with the wallet. Instead, ADAMANT node requires signed transaction to make any action. That is why no matter if you connect to locally installed node or remote one.

If you are building service with ~100% uptime rate, implement Health check in your application, like JS API or ADAMANT Web app do. You can connect to public ADAMANT nodes, but running 3 or more separate ADAMANT nodes is much more reliable.

If you are building messenger or bot application, consider using Socket connection to provide superior performance.