yajsapi / Exports​
YaJSapi
(not needed for running examples)
run yarn
in main folder
run yarn build
in main folder
build is ready in dist
folder!
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
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
Call -d
or --debug
flag on your example script, e.g. npm run ts:blender -- -d
Use the --subnet-tag
option, e.g. npm run ts:blender -- --subnet-tag YOUR_SUBNET
.
Use the --network
option, e.g. npm run ts:blender -- --network rinkeby
.