Quickstart
Welcome to Via Network developer documentation!
Prerequisites
Setting Up the Example Project
git clone https://github.com/vianetwork/via-core.git
cd via-core/via-playground
yarn installConfiguring Hardhat for Via Network
module.exports = {
defaultNetwork: 'via-testnet',
solidity: "0.8.27",
networks: {
via-testnet: {
url: "https://via.testnet.viablockchain.dev" // VIA testnet RPC endpoint
chainId: 25223, // Via testnet chainId
accounts: [process.env.PRIVATE_KEY],
},
},
};Writing & Compiling the Smart Contract
Deploying the Contract to Via Network
Interact with the CrowdfundingCampaign contract
Last updated