Skip to content

Instantly share code, notes, and snippets.

@plutoegg
Last active September 24, 2018 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plutoegg/50b2bc39040260e6cc2ad0666d4d4172 to your computer and use it in GitHub Desktop.
Save plutoegg/50b2bc39040260e6cc2ad0666d4d4172 to your computer and use it in GitHub Desktop.
Trustless Developer Guide - 3
const token = 'ZRX'
const amount = 15 // Number of tokens to lock
const forTime = 48 // Time after which unlocking does not require permission
const response = await efx.contract.lock(token, amount, forTime)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment