All Projects → gyrostable → core

gyrostable / core

Licence: other
Gyroscope, a fully-backed stablecoin with algorithmic price bounding and all-weather reserves. Testnet core.

Programming Languages

solidity
1140 projects
typescript
32286 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to core

decentrapay
Maker DAI payment processor
Stars: ✭ 72 (+140%)
Mutual labels:  stablecoin
kcoin
A stable cryptocurrency that algorithmically targets $1 USD using the Kowala Protocol
Stars: ✭ 17 (-43.33%)
Mutual labels:  stablecoin
stablecoin.services
A gas free offering of common Dai and Chai operations
Stars: ✭ 32 (+6.67%)
Mutual labels:  stablecoin
arbitrage-keeper
Maker Keeper Framework: Keeper to arbitrage on OasisDEX, `join`, `exit`, `boom` and `bust`. Efficiently handles both bad debt liquidations and surplus Dai.
Stars: ✭ 102 (+240%)
Mutual labels:  stablecoin
bite-keeper
Maker Keeper Framework: Keeper to bite undercollateralized cups.
Stars: ✭ 46 (+53.33%)
Mutual labels:  stablecoin
stellarator
Cowrie exchange API for converting between fiat currencies and crypto currencies
Stars: ✭ 27 (-10%)
Mutual labels:  stablecoin
ching
Easy, web-based, crypto-first POS that supports DAI and xDAI.
Stars: ✭ 26 (-13.33%)
Mutual labels:  stablecoin
stablecoooin
EOS stable coin contract
Stars: ✭ 17 (-43.33%)
Mutual labels:  stablecoin
arkadiko-dao
Arkadiko is a liquidity protocol that implements a stablecoin (xUSD) and governance token (DIKO) on Stacks
Stars: ✭ 34 (+13.33%)
Mutual labels:  stablecoin
dollar
Gemini dollar contract source code
Stars: ✭ 79 (+163.33%)
Mutual labels:  stablecoin

Gyroscope core

This repository contains the core contracts and logic for the Gyroscope alpha testnet reserves: https://gyro.finance

The documentation here is intended for contributors to this repository. For the general Gyro documentation, please visit https://docs.gyro.finance

Initial setup

First, install the dependencies and compile using

yarn install
yarn build

and for development purposes, link the package using

yarn link

Running a node

Start a node

yarn run-node

This will print the accounts, including their private keys. The first account holds many different tokens so we recommend importing this account to MetaMask using its private key.

Then, in another terminal, deploy the contracts, export information and compile everything using

yarn build:full

At this stage, the SDK should work properly, try running the tests following the instructions at: https://github.com/stablecoin-labs/gyro-sdk

Deploying to Kovan

yarn hardhat --network kovan deploy
yarn hardhat --network kovan run scripts/bind-pools.ts # bind balancer pools
yarn hardhat --network kovan run scripts/sync-prices.ts # set oracle prices
yarn hardhat --network kovan run scripts/setup-fund.ts # setup Gyro Fund

Running tests

The tests are written using Brownie.

Brownie needs to be installed first, using pip install eth-brownie

Tests can then be ran using

brownie test

Verifying source code

Run the following command

npx hardhat --network kovan etherscan-verify --api-key API_KEY --force-license --license MIT

The API_KEY can be generated from Etherscan: https://etherscan.io/myapikey

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].