Get started with Elivoda's Web3 infrastructure using step-by-step instructions for developers.
Create a new project directory and install the Elivoda SDK with:
mkdir elivoda-app
cd elivoda-app
npm init
npm install @elivoda/web3-sdk
Create a `.env` file with your development credentials:
ELI_API_KEY=your-project-key
ELI_PRIVATE_KEY=your-ethereum-key
CHIAN_ID=elivoda-testnet
Connect to Elivoda Web3 in your JavaScript:
const elivoda = require('@elivoda/web3-sdk')
elivoda.init({
chainId: 'elivoda-testnet',
privateKey: process.env.ELI_PRIVATE_KEY
})
const tx = await elivoda.contract.write('MyNFT', 'mint')
{ tokenId: '123' }, { value: '0.1 ETH' })
const data = await elivoda.blockchain.get('block', 12345)
const balance = await elivoda.wallet.balance
.get('ethereum')
.send()
After completing the quick start, explore advanced features and deploy your first project: