Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Machinomy Examples

Machinomy examples.

client.ts - Example of Machinomy client. It sends a payment and buys a content from server.

server.ts - Example of a server. Uses Machinomy to accept payments for content.

machinomy.ts - Self-contained emulation of buying and selling a content.

sender.ts - Sending payments through channels. Example of a sender.

receiver.ts - Sending payments through channels. Example of a receiver. Usage:

  $ cd machinomy/packages/examples/
  $ DEBUG=* yarn sender && yarn receiverTokens

senderTokens.ts - Sending tokens through channels. Example of a sender.

receiverTokens.ts - Sending tokens through channels. Example of a receiver. Usage:

  $ cd machinomy/packages/examples/
  $ DEBUG=* yarn senderTokens && yarn receiverTokens

Web site: machinomy.com. Twitter: @machinomy. Support/Discussion: Gitter.

❗ Please, pay attention, this package is the part of Machinomy Lerna Monorepo and it's intended to use with other monorepo's packages.

⛔ You should not git clone this repository alone

✅ You should git clone the main repository via

git clone https://github.com/machinomy/machinomy.git
or 
git clone git@github.com:machinomy/machinomy.git

For documentation, usage and contributing please see Machinomy Monorepo.