βοΈswapVlry
Last updated
npm install @nest25/tokenomics-lib
OR
yarn add @nest25/tokenomics-lib```javascript
// import Nest SDK library
const { dex } = require('@nest25/tokenomics-lib');
// create a new instance of the dex class
const Dex = new dex();
async function main() {
// swap 0.001 VLRY for ETH on Uniswap
const result = await Dex.swapVlry('0.001', TEST_PRIVATE_KEY, 'uniswap');
// print the result
console.log(result);
}
```Received 262895397847755609 VLRY