Skip to content

D2Kit standard dex smart contract based on Uniswap V2 and NiftySwap of 0xsequence.

Notifications You must be signed in to change notification settings

DD-Kit/d2kit-standard-contract

Repository files navigation

D2Kit Dex Smart Contract Boilerplate

👨‍💻Language: Solidity

🚀Carrier: Hardhat

This repository includes standard cryptocurrency exchange protocol based on Uniswap V2 of UniswapLabs and NFT exchange protocol based on Niftyswap of 0xsequence.

D2Kit V2 exchange Inheritance Map

D2Kit NFT exchange Inheritance Map

Key Change on D2Kit V2

Original pairFor() method was commented to elastic deployment on dev environment in D2kitV2Library. Alternative pairFor() method was provided.

function pairFor(address factory, address tokenA, address tokenB) internal view returns (address pair) 
{
  pair = ID2KitFactory(factory).getPair(tokenA,tokenB);
}

Releases

No releases published

Packages

No packages published