Skip to content

Tracking issue for Oracle Nodes #8

Description

@longtomjr

Tasks

  • Add oracle node binary that exposes an HTTP interface that reads information from Algorand and signs the resulting authorization data

Implementation Plan

  • use algonaut to read blockchain Algorand blockchain state (Testnet) through PureStake APIs feat: create oracle-node API #18
  • Look at signing algorithms and Define/Build the protocol
  • Add HTTP interface/endpoint
  • Sign the resulting authorization data response

Activity

  1. self-assigned this
    on Apr 29, 2022
  2. moved this from In Progress to Todo in Nautilus Trusted Computeon Apr 29, 2022
  3. moved this from Todo to In Progress in Nautilus Trusted Computeon Apr 29, 2022
  4. billguo99 commented on May 19, 2022

    @billguo99
    Contributor

    Authorization Data Struct:

    Name Type Description How
    redeemed bool Confirmation that the DRT have been redeemed correctly Check destination address is same as reserve address of the DRT - check txn receiver is same as reserve address on DRT
    drt_creator Algorand Address The Address or other cryptographic identifier that indicates who created the DRT Get management address from asset_id
    drt_redeemer [u8;32] The public key of the party that redeemed the DRT From txn_id, lookup account of receiver to get public key
    executable_hash hash (sha512_256) Information encoded in the DRT From asset_id, find creation transaction, take note hashes
    data_package_hash hash (sha512_256)
    executable_url &str
    data_package_url &str

    Signed Authorization Data Struct:

    Name Type Description How
    signature byteArray Sign Auth Data Use private key of oracle node (can be stored as env variable) and sign serialized authdata value
    auth_data AuthData

    Functions:
    get_auth_data(txn_id, asset_id) -> AuthData
    sign_auth_data(auth_data) -> SignedAuthData

  5. moved this from In Progress to In Review in Nautilus Trusted Computeon Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions