verax-starter

1.0.3 • Public • Published

Verax Starter

This is a starter project for Verax, a JavaScript runtime. It includes scripts for creating and reading schemas, modules, portals, and attestations.

Installation

To install the project dependencies, run the following command: bash bun install

Usage

The project includes several scripts that you can run. Here are some examples:

Before running the scripts go to ./src/index.ts and chose your chain configuration, then add your privateKey to a .env file.

  • To build the project, run:

bash bun run build

  • To read a schema, run:

    bun run read-schema
  • To create a schema, run:

    bun run create-schema
  • To read an attestation, run:

    bun run read-attestation
  • To create an attestation, run:

    bun run create-attestation
  • To read a module, run:

    bun run read-module
  • To create a portal, run:

    bun run create-portal
  • To read a portal, run:

    bun run read-portal

Please note that these scripts will prompt you for necessary input in the command line.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Readme

Keywords

none

Package Sidebar

Install

npm i verax-starter

Weekly Downloads

0

Version

1.0.3

License

none

Unpacked Size

399 kB

Total Files

14

Last publish

Collaborators

  • 0xeillo