Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.85 KB

README.md

File metadata and controls

58 lines (41 loc) · 2.85 KB

build codecov Go Report Card Hits-of-Code Go Reference License

Hyperledger FireFly Tezos Connector

This repo provides a reference implementation of the FireFly Connector API (FFCAPI) for Tezos blockchain.

See the Hyperledger Firefly Documentation and the FireFly Transaction Manager repository for more information.

License

Apache 2.0

Transaction signing

Tezosconnect leverages remote transaction signing through a powerful 'signatory' service, offering compatibility with multiple key management solutions. With the flexibility to use AWS KMS, Azure KMS, GCP KMS, Yubi HSM, etc. for transaction signing, you can secure your blockchain transactions efficiently and conveniently.

More info at: https://signatory.io/

Configuration

For a full list of configuration options see config.md

Example configuration

connector:
  blockchain:
    # other public RPCs can be found: https://docs.tezos.com/architecture/rpc#public-and-private-rpc-nodes
    rpc: https://ghostnet.ecadinfra.com
    network: ghostnet
    signatory: http://localhost:6732

Blockchain node compatibility

For Tezos connector to function properly, you should check the blockchain node supports the following RPC Methods:

Chains

  • GET /chains/<chain_id>/blocks/<block_id>/hash
  • GET /chains/<chain_id>/blocks/<block_id>/operations/<list_offset>
  • GET /chains/<chain_id>/blocks/<block_id>/operations/<list_offset>/<operation_offset>
  • POST /chains/<chain_id>/blocks/<block_id>/helpers/forge/operations
  • POST /chains/<chain_id>/blocks/<block_id>/helpers/scripts/simulate_operation
  • POST /chains/<chain_id>/blocks/<block_id>/helpers/scripts/run_operation

Block monitoring

  • GET /monitor/heads/<chain_id>

Injection

  • POST /injection/operation