Code Monkey home page Code Monkey logo

ahojsynth's Introduction

AhojSynth

Ahoj.Synth is a synthetic asset protocol running on Avalanche

It is not forked from UMA Protocol, however we took the spirit and some part of the ideas and code from them. Ahoj.Synth is part of Ahoj.Finance and it allows the issuance and trading of financial instruments using synthetic assets named Ahoj Synthetic Assets (ASA).

What are synthetics? A synthetic is a financial instrument that simulates other instruments. In other words, performance of any financial instrument can be simulated using a combination of other financial instruments.

Ahoj.Synth Is a protocol for creating economic or financial rules to mint ASA (Ahoj Synthetic Assets).

ASA can represent one or several financial instruments. ASA is a smart contract implementing Total Return Swap financial concept.

This repository is a collection of smart contracts that implement the Ahoj.Swap protocol on Avalanche.

Ahoj is a Czech word from English ahoy. The word Ahoj is used to say Hello (informal greeting said when meeting someone) or inclusive to say Bye (informal farewell).

Table of Contents

Install

# Install project dependencies
npm install

# Install ethereum local blockchain(s) and associated dependencies
npx setup-local-chains

Testing

# You can use the following command to start a local blockchain instance
npx start-chain [ganacheUnitTest|gethUnitTest]

# Run all unit tests
npm test

# Run unit tests in isolation
npx truffle --network ganacheUnitTest test test/unit/ahoj.js

Contribute

To report bugs within this package, create an issue in this repository. For security issues, please contact [email protected]. When submitting code ensure that it is free of lint errors and has 100% test coverage.

# Lint code
npm run lint

# View code coverage
npm run coverage

License

GNU General Public License v3.0 (c) 2020 Bayro

ahojsynth's People

Contributors

eherrador avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.