Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.
/ yajsapi Public archive
forked from golemfactory/golem-js

Experimental Typescript + NodeJS API to next Golem

License

Notifications You must be signed in to change notification settings

reza-hackathons/yajsapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YaJSapi

(Experimental/Alpha) Almost 1:1 Port of Yapapi to Typescript



Prerequisites

Building the Library

Installation

  • run yarn in main folder

Building

  • run yarn build in main folder
  • build is ready in dist folder!

Running Examples

Installation

  • cd examples will take you to examples folder
  • yarn will install dependencies for the examples
  • add YAGNA_APPKEY as environment variable;
export YAGNA_APPKEY=your_yagna_app_key_here

When ready

  • npm run js:blender will start blender javascript example
  • npm run ts:blender will start blender typescript example
  • npm run js:low will start javascript low level api example
  • npm run ts:low will start typescript low level api example
  • npm run ts:greetings will start typescript greetings example

Need more logs

Call -d or --debug flag on your example script, e.g. npm run ts:blender -- -d

Subnet

Use the --subnet-tag option, e.g. npm run ts:blender -- --subnet-tag YOUR_SUBNET.

About

Experimental Typescript + NodeJS API to next Golem

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%