Skip to content
/ example Public

example of how to hook up the tradle engine and network stack

License

Notifications You must be signed in to change notification settings

tradle/example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

This example shows how to set up a tradle node, plug it into the network, and send/receive messages. A websocket relay is used to facilitate communication between the two nodes. For simplicity, both nodes are run in one process: example.js

Start a websocket relay

DEBUG=websocket-relay node relay.js

Run the example

DEBUG=tradle:* node example.js

About

example of how to hook up the tradle engine and network stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published