Skip to content

ioanSL/delegation-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delegation Contract

This project aim to provide a solution to delegate on-chain assets ownership to target addresses.

Doc

Implementation Proposal

# Run tests. Use REPORT_GAS=true and set Coinmarketcap api key for more details
npx hardhat test

# Deploy Delegate and aux contracts to Sepolia Network.
npx hardhat run scripts/deploy.ts --network sepolia

# Delegate ERC721
npx ts-node scripts/delegateERC721.ts $DELEGATOR $DELEGATEE $ASSET_ADDRESS $TOKENID $LICENSE $true/false