Skip to content
/ motr Public

Decentralized Web Node Implementation for the Sonr Network 🏎️

Notifications You must be signed in to change notification settings

onsonr/motr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onsonr/motr

GoDoc Go Report Card

onsonr/motr is the implementation of the Decentralized Web Node for the Sonr Blockchain.

Install

go get github.com/onsonr/motr

Usage

Example: As a library

package main
import (
	"github.com/onsonr/motr"
)

func main() {
	// Create a new decentralized web node
	node := motr.NewNode()

	// Start the decentralized web node
	node.Start()
}

Example: As a Service Worker

GOOS=js GOARCH=wasm go build -o app.wasm ./cmd/vault/main.go

Example: Via Cloudflare Workers

GOOS=js GOARCH=wasm go build -o app.wasm ./cmd/proxy/main.go

Contributing

Contributions are welcome!

License

MIT

Copyright (c) 2024, diDAO

About

Decentralized Web Node Implementation for the Sonr Network 🏎️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published