Skip to content

EIP-2535 Diamond Upgradeable Proxy Contract to Proxy ERC20 to GNUS.ai ERC1155 tokens

Notifications You must be signed in to change notification settings

GeniusVentures/erc20-gnus-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy ERC20 Tokens to GNUS.AI NFT contracts with payment channels

Overview

This is a proxy contract sample to map ERC20 smart contract into ERC1155 contract on GNUS.ai smart contracts cross-chain

GNUS.AI Smart contract includes NFT creation and minting with a Payment channel that is a generalized payment network that supports efficient off-chain token transfer with the Genius Token on on-chain ethereum. These contracts use Diamond Storage/Facets to split the contracts into deployable pieces and for upgradeability.

Solidity Version

Solidity ^0.8.4 or above is required to compile these smart contracts

Test And Deploy Locally using hardhat and typescript

  1. Install node >= v12: https://nodejs.org.
  2. Go to erc20-gnus-proxy's root directory.
  3. Install the node dependencies in the local node_modules folder.
yarn
  1. Compiling the contracts
yarn run compile 
  1. Compiling and testing the contracts
yarn run test

About

EIP-2535 Diamond Upgradeable Proxy Contract to Proxy ERC20 to GNUS.ai ERC1155 tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published