longtailfinancial / spiritswap

Decentralized trading protocol on Matic Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpiritSwap

Deploys token trading contracts on Matic Network.

Installation

npm install -g node-gyp
yarn

If the build fails, delete yarn.lock and node_modules/ and try again

rm yarn.lock && rm -rf node_modules
yarn

Run a Ganache development chain and Paste your secret key mnemonic into the file .secret

Execute a developmnet environment:

truffle migrate --network development

Execute this to deploy:

truffle migrate --network matic

Matic Mumbai Network contract addresses:

  • Diamond: 0x4fe23a33922BcC5e560fdd74A84cDDe4D2BdaaAC
  • QuickSwapRouter02: 0xFCB5348111665Cf95a777f0c4FCA768E05601760

Changes from Uniswap V2

The code in this project was originally taken from these three repositories:

Code from the above repositories were combined and integrated into this one and they were upgraded to use Solidity 0.7.0. These changes occurred on 12 August 2020.

The code from these repositories are used as a base for token trading on Matic Network.

The uniswap code was also integrated with a diamond and governance and governance token contracts.

See CHANGES.md for further changes.

Nick Mudge nick@perfectabstractions.com

https://twitter.com/mudgen

About

Decentralized trading protocol on Matic Network.

License:GNU General Public License v3.0


Languages

Language:Solidity 79.2%Language:TypeScript 17.2%Language:JavaScript 3.6%