Skip to main content

Overview

Viction is fully compatible with Ethereum’s Web3 ecosystem. You can use popular Web3 libraries like Web3.js, ethers.js, and Web3.py to interact with the Viction blockchain.

Network Configuration

Mainnet

Testnet

Web3.js Integration

Installation

Basic Setup

Common Operations

Get Account Balance

Send Transaction

Interact with Smart Contract

Subscribe to Events

Ethers.js Integration

Installation

Basic Setup

Common Operations

Get Account Balance

Create Wallet and Send Transaction

Interact with Smart Contract

Listen to Events

Go Client Integration

Using ethclient Package

Send Transaction

Python Web3.py Integration

Installation

Basic Setup

Common Operations

MetaMask Integration

Add Viction Network to MetaMask

Connect Wallet

Send Transaction with MetaMask

Best Practices

Error Handling

Gas Estimation

Connection Management

Development Tools

Hardhat Configuration

Truffle Configuration

Next Steps