SkillAgentSearch skills...

Vartex

Vartex is a vortex into the permaweb -- the decentralised web on top of the Arweave protocol.

Install / Use

/learn @ArweaveTeam/Vartex
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="https://raw.githubusercontent.com/ArweaveTeam/vartex/main/docs/logo.png"></img>

License

Vartex is a vortex into the permaweb -- the decentralised web on top of the Arweave protocol. Vartex nodes offer services to permaweb users -- serving data and query requests to desktop and mobile browsers.

The service builds upon Amplify, a fork of the original Arweave.net gateway service.

Current Release: BETA-2

We are in beta! Please give Vartex a spin and let us know what you think via the Arweave Developer Discord.

  • :ghost: If you encounter issues, please open a ticket here and we will try to respond ASAP!
  • :gift: If you feel this code needs improvement, please open a PR.
  • :pray: If a feature you'd like to see is missing, open a feature request ticket and let's discuss it!

Running with Docker Compose

The easiest way to start with your own gateway is by running the service with docker-compose.

Requirements

  • Docker Compose (comes with Cassandra image)
  • 1TB or more free disk space for persistent volume

Running

Clone this repo with:

git clone https://github.com/ArweaveTeam/vartex.git

Go into the directory:

cd gateway-cassandra

Copy the .env.example to .env, and change the ARWEAVE_NODES variable to the IP addresses of your Arweave node.

cp .env.example .env

Run the docker-compose command:

docker-compose up -d

Wait a couple of minutes and then you can see your gateway running on:

http://localhost:3000/graphql

Run without Docker

You can also run the gateway without using Docker.

Requirements

  • NodeJS v16.4.0 or higher
  • Cassandra v4.0.0 or higher

Environment

By default, there is a default environment you can use located at .env.example in the repository.

Make sure you copy this configuration to .env.

cp .env.example .env

Compilation

Start Cassandra and then run the following command to compile the gateway.

# with npm
npm run start

# with yarn
yarn start

Endpoints

You can test if the server and the GraphQL queries are working properly by navigating to.

http://localhost:1248/graphql

This webpage should look similar to.

https://arweave.dev/graphql

Related Skills

View on GitHub
GitHub Stars20
CategoryDevelopment
Updated1y ago
Forks18

Languages

TypeScript

Security Score

80/100

Audited on Jul 29, 2024

No findings