idexo
Search…
Create a Vesting Smart Contract
This section describes how to deploy a vesting smart contract on your specified blockchain.
To use this method, you need an idexo API key that has been upgraded to a customer API key. To upgrade, please contact us. You will need to specify a network, from the following list of supported networks:
  • avalanche
  • bsc
  • ethereum
  • fantom
  • polygon
Assuming you have installed the SDK, you can use the following code in your file (instructions on modifying it follows - for more information on how to use it see our Getting Started tutorial):
1
const ido = require('idexo-sdk')
2
ido.Vesting.deployVesting(apiKey, network, depositToken, beneficiary, startTime, cliffMonth, durationMonth)
3
.then(res => console.log(res.data))
Copied!
Copy link