virtualeconomy / js-v-sdk

[DEPRECATED and please use https://github.com/virtualeconomy/js-vsys instead] Java Script library for V Systems
https://www.npmjs.com/package/@virtualeconomy/js-v-sdk
MIT License
10 stars 5 forks source link

Update SDK #21

Closed 0x100cc closed 4 years ago

0x100cc commented 4 years ago

PR Details

Description

  • Support new contract type(payment channel and lock contact)
  • Add deposit, withdraw, transfer token functions
  • Update README.md

Related Issue

New Contract Type Support

How Has This Been Tested

all unit test passed

Types of changes

  • [x] new feature(support payment channel and lock contract, support withdraw, deposit and transfer token)
  • [x] new unit test(add unit tests for registering payment channel and lock contract, deposit token, withdraw token, transfer token)

Checklist

  • [x] My code follows the code style of this project.
  • [x] All new and existing tests passed.