Skip to content

milancermak/cairo-4626

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cairo-4626

tests

Minimal EIP 4626 implementation in Cairo lang for StarkNet.

The contract is based on OpenZeppelin's ERC20 implementation. It is heavily inspired by Solmate's ERC4626.sol.

Compiling

To compile the contract, you'll need to set the module import path (CAIRO_PATH) to point to the contracts/lib directory:

CAIRO_PATH=`pwd`/contracts/lib nile compile

Customizing

Following OpenZeppelin's StarkNet extensibility pattern, all modifications regarding your EIP4626 business logic should go in the contracts/erc4626/library.cairo file.

About

EIP 4626 in Cairo lang for Starknet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published