Skip to content

kanna-coin/onchain-smart-contracts

Repository files navigation

SmartContracts Mono-Repository

Kanna

Solidity SolcVersion_8_17
SolcVersion_8_17 Ethers Typescript Powered by Chainlink


Kanna Multisig Wallet

0x51F9298d8C9DAD2105c99cee8429430a15381C3E

Tests Coverage

Coverage report

Local environment requirements

How to Install

install nodejs on v16 using NVM (if not installed): nvm install 16.16.0

use project version on NVM: nvm use

install dependencies: npm install

compile objects: npm run build


Build and Export Types

npm run compile

Run Contract Tests and Generate Gas Usage Report

Terminal 1: npx hardhat node
Terminal 2 npm run test -- --network localhost

Run Coverage Report for Tests

npm run coverage


Deploy to Testnet

Create/modify network config in hardhat.config.ts and add API key and private key, then run:

npm run deploy

Goerli

Mumbai