Skip to content

schoolofacceleratedlearning/xtoearn-sdk-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

xtoearn-sdk-examples

Example projects of using xtoearn-near-sdk

Getting started

  1. clone this repo to a local folder
  2. switch to the single-program example directory using the command cd single-program
  3. run npm i to download all the necessary dependencies
  4. create a .env file in the root directory i.e., single-program
  5. copy the environment variables from .env.example file
  6. set the corresponding values in the .env file
  7. set the reward_name and program_name in near-interface.js

Running the project

  • run npm run start from single-program folder
  • Log in with near wallet
  • Send reward by clicking the Send Reward button

About

Example projects of using xtoearn-sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •