Skip to content

An RPC (remote procedure call) for scanning Aleo records

Notifications You must be signed in to change notification settings

demox-labs/aleo-record-scanner

Repository files navigation

Installation & Running

  1. Install docker desktop.
  2. Install Postgres.
  3. Install protobuf: brew install protobuf.
  4. Rename .env.example to .env.
  5. Run yarn && yarn install.
  6. Start the local aleo database inside of a docker container: yarn local-db-up.
  7. Apply database migrations: yarn migrate.
  8. Run yarn start:dev.

Tests: Run yarn test.

Examples

Get Height

curl --location --request POST 'localhost:3000' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getHeight"
}'
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "height": "120087"
    }
}

About

An RPC (remote procedure call) for scanning Aleo records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •