Skip to content

Contracts of Fusion - zk-Based Multi-chain Smart Contract Wallet

Notifications You must be signed in to change notification settings

FusionWallet/fusion_contracts

Repository files navigation

Fusion - Contracts

Made-With-Solidity Made-With-ChainLink

Fusion is a multi-chain smart contract wallet that leverages ChainLink Functions and zero-knowledge proofs for cross-chain deployments and authentication. It also uses Avalanche Sub-Chain to provide unified Gas Credits and indexing transactions.

These are the solidity smart contracts used in the getFusion.tech hackathon project at Chainlink BlockMagic Hackathon 2024.

Active ChainLink Functions Subscription - Fusion-Backend

Deployments

Pre-requisites:

  • Setup Node.js v18+ (recommended via nvm with nvm install 18)
  • Install npm
  • Clone this repository
# Install dependencies
npm install

# fill environments
cp .env.example .env

Development

# Compile all the contracts
npx hardhat compile

# Deploy on Avalanche Fuji, Check hardhat.config.js to check or add supported chains
npx hardhat run --network fuji scripts/deploy.js