Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Codacy Badge Build Status Build status Open Source Love

BitBay development tree

BitBay is a PoS-based cryptocurrency.


BitBay is the world's first fully-functional decentralized marketplace since 2014 with working contracts even before Ethereum. Using innovative technology, BitBay enables you to buy and sell goods and services securely and anonymously. The marketplace is built free and open source. The markets are based on Bitmessage and use double deposit escrow. This is a two party escrow that eliminates the middle man and removes the incentive for default due to both parties having a deposit in the joint account. They either win together or they lose together, without being able to profit off of fraud. This makes theft and fraud impossible in these contracts for the first time in history without the need of an escrow agent.

BitBay also is the only coin in the world with a truly variable supply. Since other proposals of variable supply see no shift in equity they have zero impact on controlling the economy. BitBay is different because users hold equity over what is moved into reserve(sort of like a negative interest rate moving a users funds into a savings account). Therefore during inflation only users who hold reserve will see their coins released into circulation. If the price drops, deflation can protect the economy by moving some of the funds of users back into reserve. BitBay has been able to prove that this concept works and even under extreme duress and volatility with little buy support it was able to hold it's price and subsequently, any price the community wanted it to hold.

The target price of this dynamic supply(also called dynamic peg) is determined by the users of the coin. So unlike a stablecoin, collateral is not required and BitBay can change(and even possibly increase) in price or it can hold a stable price. This is purely determined by the stakers/users who also protect the network. So the decision to increase or decrease supply is purely decentralized and based on user consensus. Typically users choose an algorithm to vote on supply for them to target peaks or fulfill other economic goals.

This variable supply is accomplished because all user balances are arrays and liquid and reserve balances are determined based on the supply index of the entire economy. When moving liquid funds, users pull coins from each array column based on it's ratio. When moving reserve funds the coins that are less than the supply index are moved and subject to a one month time delay similar to a bond or long term savings. Therefore a user has two balances, liquid and reserve. BitBay also supplies code for central exchanges that wish to implement this peg so that they can handle the arrays on their order books. There was also a mock exchange set up for over a year to demonstrate the process. Although ultimately, BitBay is best suited for decentralized exchanges as it can be considered safer and better suited for the technical challenge of exchange implementation.

Development process

Developers work in their own trees, then submit pull requests when they think their feature or bug fix is ready.

The patch will be accepted if there is broad consensus that it is a good thing. Developers should expect to rework and resubmit patches if they don't match the project's coding conventions (see coding.txt) or are controversial.

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are regularly created to indicate new stable release versions of BitBay.

Feature branches are created when there are major new features being worked on by several people.

From time to time a pull request will become outdated. If this occurs, and the pull is no longer automatically mergeable; a comment on the pull will be used to issue a warning of closure. The pull will be closed 15 days after the warning if action is not taken by the author. Pull requests closed in this manner will have their corresponding issue labeled 'stagnant'.

Issues with no commits will be given a similar warning, and closed after 15 days from their last activity. Issues closed in this manner will be labeled 'stale'.

Useful information

To better understand how BitBay works, you can see a visual explainer here:

Full documentation for integration of BitBay to exchanges can be found here:

In the contrib folder there is source code for running dockers for full nodes with transaction index, exchange/server nodes, etc.

For any other project information please visit: