How to send ERC20 token with Web3 and JavaScript – David Miranda Grinstein – Medium

Share:
Crypto New Media
How to send ERC20 token with Web3 and JavaScript – David Miranda Grinstein – Medium

Crypto New Media Press

Go to the profile of David Miranda Grinstein

const fs = require(‘fs’); const path = require(‘path’); const Web3API = require(‘web3’); const axios = require(‘axios’); /** * Fetch the current transaction gas prices from https://ethgasstation.info/ * * @return {object} Gas prices at different priorities */ const getCurrentGasPrices = async () => { let response = await axios.get(‘https://ethgasstation.info/json/ethgasAPI.json’); let prices = { low: response.data.safeLow / […]

The post How to send ERC20 token with Web3 and JavaScript – David Miranda Grinstein – Medium appeared first on Crypto New Media.

No comments