Attester is a TypeScript application that performs attestation tasks.
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
Clone the repository:
git clone https://github.com/t3rn/t3rn.git
Install dependencies using pnpm:
cd client/packages/attester
pnpm install
Copy .envrc-example to .envrc and supply it with base64 encoded keys used for attester
Run it
cd client/packages/attester
pnpm run start
Adjust .envrc
file in the root of the project and add the necessary environment variables.
Update the config
files with your desired configuration.
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.
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.In case it's exitting without any apparent reason then just comment out line:
stderr.write = NullWritable.write.bind(NullWritable)
Generated using TypeDoc