TheLucasMoore / MarketProtocol

Decentralized and trust-less ethereum based trading protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The MARKET Protocol provides the first opportunity for crypto holders to gain exposure to real-world or crypto assets through derivatives. A derivative is a contract between two parties with its value derived from an underlying asset. MARKET users will be able to design and implement contracts deriving value from digital and non-digital assets settling on the Ethereum blockchain. Users are not limited to owned or existing ERC20 tokens. MARKET is designed to facilitate risk transference and trading in a trustless manner.

Getting Started

Assuming you have npm already, Install truffle

$ npm install -g truffle

Clone this repository and use npm to install needed dependencies

$ git clone https://github.com/MarketProject/MarketProtocol.git
$ cd MarketProtocol
$ npm install

Tests

To run the tests locally via truffle you must have oraclize's bridge running. Information on installation can be found here https://github.com/oraclize/ethereum-bridge

Start truffle and its development blockhain with

$ truffle develop

and then start the ethereum bridge (separate console) to run connected to the development blockchain you just started, note the account you use (in this example account 9 is used)

$ cd ethereum-bridge/
$ node bridge -H localhost:9545 -a 9 --dev

At this point you should be able to run the example migrations as well as the accompanying tests inside the truffle console

truffle(develop)> migrate
truffle(develop)> test

Contact us

We would love to hear your feedback and suggestions. We are also actively seeking community members who want to get involved in the project. Please reach out to us at info@marketprotocol.io

About

Decentralized and trust-less ethereum based trading protocol

License:Apache License 2.0


Languages

Language:JavaScript 100.0%