verax-starter
v1.0.3
Published
This is a starter project for Verax, a JavaScript runtime. It includes scripts for creating and reading schemas, modules, portals, and attestations.
Readme
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-schemaTo create a schema, run:
bun run create-schemaTo read an attestation, run:
bun run read-attestationTo create an attestation, run:
bun run create-attestationTo read a module, run:
bun run read-moduleTo create a portal, run:
bun run create-portalTo 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.
