Code Monkey home page Code Monkey logo

peatio's Introduction

Peatio - an open-source crypto currency exchange

Build Status Telegram Chat

Peatio.tech Introduction

Peatio is a free and open-source crypto currency exchange implementation with the Rails framework. Peatio.tech is a fork of Peatio designed for micro-services architecture. We have simplified the code in order to use only Peatio API with external frontend and server components.

To build your own exchange you should now run Peatio as a backend instead of forking the repository, and extend it using other microservices such as Barong.

Mission

Our mission is to build an open-source crypto currency exchange with a high performance trading engine and incomparable security. We are moving toward dev/ops best practices of running an enterprise grade exchange.

We provide webinar or on site training for installing, configuring and administration best practices of Peatio. Feel free to contact us for joining the next training session: Peatio.tech

Help is greatly appreciated, feel free to submit pull-requests or open issues.

Requirements

  • Linux / Mac OSX
  • Docker / Kubernetes
  • Ruby 2.5.0
  • Rails 4.2+
  • Redis 2.0+
  • MySQL 5.7
  • RabbitMQ

Find more details in the docs directory.

Getting Started

Local development setup:

Production setup:

Things You Should Know

RUNNING AN EXCHANGE IS HARD.

This repository is not a turn key solution and will require engineering and design of security process by your company, with or without our assistance. This repository is one component among many we recommend using for composing an enterprise grade exchange. It is highly recommended to deploy a UAT environment and build automated tests for your needs, including Functional tests, Smoke tests and Security vulnerability scans. You may not need to have an active developer on Peatio source code, however, we recommend the following team setup: 1 dev/ops, 3 frontend developers (react / angular), 2 QA engineers, 1 Security Officer.

SECURITY KNOWLEDGE IS A REQUIREMENT.

Peatio cannot protect your customers if you leave your admin password 1234567, or open sensitive ports to public internet. No one can. Running an exchange is a very risky task because you're dealing with money directly. If you don't know how to make your exchange secure, hire an expert.

You must know what you're doing, there's no shortcut. Please get prepared before you continue:

  • Rails knowledge
  • Security knowledge
  • Cloud and Linux administration
  • Docker and Kubernetes administration
  • Micro-services and OAuth 2.0

Features

  • Designed as high performance crypto currency exchange
  • Built-in high performance matching-engine
  • Built-in Proof of Solvency Audit
  • Usability and scalability
  • Websocket API and high frequency trading support
  • Support multiple digital currencies (eg. Bitcoin, Litecoin, Dogecoin etc.)
  • API end point for FIAT deposits or payment gateways.
  • Powerful admin dashboard and management tools
  • Highly configurable and extendable
  • Industry standard security out of box
  • Maintained by peatio.tech
  • KYC Verification provided by Barong

API

You can interact with Peatio through API:

Here are some API clients/wrappers:

Custom Styles

Peatio front-end is based Bootstrap 3.0 and Sass, so you can customize the style of your exchange.

  • change bootstrap default variables in vars/_bootstrap.css.scss
  • change peatio custom default variables in vars/_basic.css.scss
  • add your custom variables in vars/_custom.css.scss
  • add your custom css style in layouts/_custom.css.scss
  • add or change features style in features/_xyz.css.scss

vars/_custom.css.scss can overwrite vars/_basic.css.scss defined variables layout/_custom.css.scss can overwrite layout/_basic.css.scss and layoputs/_header.css.scss style

Getting Involved

Want to report a bug, request a feature, contribute or translate Peatio?

  • Browse our issues, comment on proposals, report bugs.
  • Clone the peatio repo, make some changes according to our development guidelines and issue a pull-request with your changes.
  • If you need technical support or customization service, contact us: [email protected]

Getting Support and Customization

If you need help with running/deploying/customizing Peatio, you can contact us on peatio.tech.

Contact us by email: [email protected]

License

Peatio is released under the terms of the MIT license.

What is Peatio?

Peatio (Chinese: ่ฒ”่ฒ…) is a Chinese mythical hybrid creature considered to be a very powerful protector to practitioners of Feng Shui.

[This illustration copyright for Peatio Team]

logo

peatio's People

Contributors

lgn21st avatar poshboytl avatar tomlion avatar yivo avatar weilu avatar ysv avatar ashchan avatar gfedorenko avatar ymasiuk avatar kite-bot avatar beenhero avatar spavlishak avatar k1t4er avatar shal avatar dinesh-skyach avatar lifu avatar liushooter avatar webmix avatar brossi avatar xyuwang avatar calj avatar dpaluy avatar kriskelly avatar vpetrusenko avatar ec avatar keating avatar jyek avatar happypeter avatar hpyhacking avatar summm avatar

Watchers

James Drew 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.