attester

Attester

Attester is a TypeScript application that performs attestation tasks.

Prerequisites

  • Node.js and pnpm should be installed on your machine.

  • pnpm should be installed globally. If not, you can install it by running the following command:

    npm install -g pnpm
    

Installation

  1. Clone the repository:

    git clone https://github.com/t3rn/t3rn.git
    
  2. Install dependencies using pnpm:

    cd client/packages/attester
    pnpm install
  3. Copy .envrc-example to .envrc and supply it with base64 encoded keys used for attester

  4. Run it

    cd client/packages/attester
    pnpm run start

Configuration

  1. Adjust .envrc file in the root of the project and add the necessary environment variables.

  2. Update the config files with your desired configuration.

Usage

To start the Attester application, run the following command:

pnpm start

The application will connect to the required clients and start listening to events for attestation.

Scripts

  • pnpm fmt: Formats the source code using Prettier.
  • pnpm lint: Lints the source code using ESLint.
  • pnpm lint:report: Generates an ESLint report in JSON format.
  • pnpm start: Starts the Attester application.

Issues

In case it's exitting without any apparent reason then just comment out line:

stderr.write = NullWritable.write.bind(NullWritable)

Generated using TypeDoc