dApps on steroids.
nnApplications should be easy to build. Users should be able to power a network by using a dApp. Operators should be able to launch AVS' with ease.
This repo is a radical change on building dApplications with Network Neutral Principals.
What the f' is this?
- Vite Powered Front End using Blockless Web Workers
- Golang Powered Rest Server with a P2P Server Provider Network built in.
To build the basics :
- go 1.21
- node 1.18
Have protobuf installed
brew install protobuf
Install proto-gen libraries for transforms for go (javascript will be installed locally).
brew install protoc-gen-go
To build more :
- Swift for OSX 14+
make dev
Starts a development server.
-
Vite Server http://localhost:5173/ (messages swallowed for cleaner ux)
-
Development Server http://localhost:8080
-
Install protoc-js
npm install -g protoc-gen-js
make build
will produce a single executible containing the vite
app, with the golang backed api server.
./myapp
Usage of ./myapp:
-headless
Run in headless mode without opening the browser
-port int
Provide a listenable port e.g. 8080
two ways to join the reference network!
- Grab a binary for your system here
https://github.com/dmikey/go-vite-app/releases/tag/latest
- Give a docker a spin!
docker run -p 8080:8080 ghcr.io/dmikey/go-vite-app:v0.0.4