Skip to content

dmikey/go-vite-app-p2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockless powered vite app

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.

dev

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.

npm install -g protoc-gen-js

production

make build will produce a single executible containing the vite app, with the golang backed api server.

./myapp

build

Usage of ./myapp:
  -headless
        Run in headless mode without opening the browser
  -port int
        Provide a listenable port e.g. 8080

try it

two ways to join the reference network!

  1. Grab a binary for your system here

https://github.com/dmikey/go-vite-app/releases/tag/latest

  1. Give a docker a spin!
docker run -p 8080:8080 ghcr.io/dmikey/go-vite-app:v0.0.4

About

build simple small apps, powered by react+vite+typescript UI, and golang backend

Resources

Stars

Watchers

Forks

Packages