@elkdex/bsc-exchange-contracts

1.0.0 • Public • Published

Elk Finance Binance Smart Chain Smart Contracts

This repo contains all of the smart contracts used to run Elk Finance on Huboi ECO.

Deployed Contracts

Factory address: 0x7941856Ab590351EBc48FE9b68F17A3864aB6Df5

Router address: 0xdb0D31c562cb6c54c45b27309aAD52b744eFe9fF

Running

These contracts are compiled and deployed using Hardhat. They can also be run using the Remix IDE. A tutorial for using Remix is located here.

To prepare the dev environment, run yarn install. To compile the contracts, run yarn compile. Yarn is available to install here if you need it.

Accessing the ABI

If you need to use any of the contract ABIs, you can install this repo as an npm package with npm install --dev @elkdex/avax-exchange-contracts. Then import the ABI like so: import { abi as IPangolinPairABI } from '@elkdex/avax-exchange-contracts/artifacts/contracts/elk-core/interfaces/IElkPair.sol/IElkPair.json'.

Attribution

These contracts were adapted from these Uniswap repos: uniswap-v2-core, uniswap-v2-periphery, and uniswap-lib.

Readme

Keywords

none

Package Sidebar

Install

npm i @elkdex/bsc-exchange-contracts

Homepage

elk.finance/

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

10.5 MB

Total Files

193

Last publish

Collaborators

  • elkdex