Skip to content

working node example to get & push producer data to s3 bucket

Notifications You must be signed in to change notification settings

CALEOS/validators-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

validators-node

boilerplate node implementaiton using validator-checks telos package & aws S3 client

NOTE: in order to push to the S3 bucket telos-producers-validation you will need to reference local environment variables as credentials when instantiating the s3 client or configure using aws CLI:

$ aws configure
AWS Access Key ID [None]: <access-key-id>
AWS Secret Access Key [None]: <secret-access-key>
Default region name [None]: us-east-1
Default output format [None]: json

To use the script in another project install the following packages and copy the script in index.js:

yarn add @aws-sdk/client-s3
yarn add @telosnetwork/validator-checks

To use this project to run the update script:

git clone https://github.com/CALEOS/validators-node.git

cd validators-node

yarn

node index.js

About

working node example to get & push producer data to s3 bucket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published