Interacting with the Blockchain: Send Transaction, Get Wallet Balance, Interact with Smart Contracts
A repository with various utility functions to interact with the blockchain using NodeJS. Currently supports Ethereum and Binance Smart Chain, both Mainnet and Testnet. For practical purposes, I'll refer the Native Coin by ETH (or Ether) which corresponds to BNB on the Binance Smart Chain (BSC)
CMC_API_KEY=<your coinmarketcap api key, useful to get latest fiat prices>
PRIVATE_KEY=<your wallet private key to sign transactions>
In development...
- Get Wallet Balance in Native Coin
- Send Ether from one wallet to another
- Swap coins using a Smart Contract
- Create a smart contract
- Fund the smart contract
- NFT Collection
and more..