Frequently Asked Questions

What is BitBay?

BitBay, launched in 2014, was the world’s first smart contracting platform—predating even Ethereum. BitBay can also pump or deflate its own price by placing part of the economy in “reserve,” similar to digital bonds. These reserves are tradable in a separate market. BitBay also invented "unbreakable contracts" which use two party escrow and deposits to eliminate fraud in sales and employment contracts. All of this runs on a decentralized marketplace that is fully peer to peer with no escrow agents or third parties. The project is so legendary and complex that one paragraph is not enough to describe it. We encourage you to join the community and learn more.

What is the Dynamic Peg and how does it help to stabilize the Bitbay Economy?

The Dynamic Peg allows users to control inflation and deflation in the Bitbay economy. It does this by enabling stakers/users to vote on the supply of the economy, allowing them to inflate or deflate specific coins. When the supply deflates, some users may have funds moved into reserve which is similar to a savings account. During inflation, users who have reserve may have some converted back into liquid funds. This system allows the price of liquid funds to stay very strong, regardless of how small the demand is. This is not to be confused with coins that are "elastic" which have absolutely no impact on marketcap or prices. The dynamic peg is unique because it causes a shift in equity during a supply change, in turn causing a change in marketcap and in the distribution of coins.

What is the difference between BitBay, BitBay Reserve and BitBay Frozen?

BitBay represents the liquid funds that can move immediately, just like a regular coin. However, BitBay coins have a memory so that some of them may convert to BitBay reserve when the supply decreases. That's how users can encourage positive price action on BitBay. BitBay reserve coins behave differently because they move slower. For example, on the main BitBay network after you send reserve coins they are "frozen" for a month. However, they also yield double the reward for stakers who process transactions and protect the network. When the stakers vote to increase the supply that causes some of the funds that were just previously set aside to be converted back to liquid BitBay and they no longer are delayed when sent. Click here to see a visual explanation of how it works.

How is BitBay different from a stablecoin?

BitBay allows users to control volatility and keep the price within any range they collectively desire. A stablecoin is typically fixed to the value of a third party asset or currency. In BitBay users actively have a choice on how the economy behaves through inflation and deflation. If the consensus of users want the price to stay at a specific value, they can get it very close to that using their own algorithms. This way users can customize how and when to defend against price crashes, allowing for a temporary defense against aggressive selling or buying.

Is Bitbay an algorithmically controlled coin?

BitBay is not an algorithmic stablecoin either because the users are the ones who choose. They may indeed choose to put up buy walls similar to collateral and make their own custom contracts however, that is entirely up to them. The price of something is determined by supply and demand and although BitBay can not force demand, it can force the supply to adjust to changes in demand. Therefore, if it gets a significant amount of volume and users it's much more likely to survive brutal market conditions. As a comparison, Bitcoin is not able to program its own economy, nor is it deflationary. BitBay takes this to the next level and programs the coins to respond to the peoples wishes.

What is the BitBay bridge?

BitBay has its own custom coded proof of stake network. Since the peg was activated, BitBay had to switch to decentralized exchanges because the peg requires complex custom code for exchanges to run it. BitBay therefore was forced to make a watered down version of the dynamic peg that can run on any solidity based network(Ethereum, Polygon, Binance). The bridge allows users to move coins from BitBay to these networks so that it can be traded on the exchanges. Users may also move funds off of those networks and back to BitBay.

Is BitBay and the Bridge decentralized?

BitBay’s bridge is fully decentralized, with stakers forming consensus to batch transactions and vote on Merkle proofs, which can be minted on other networks. Users simply present a receipt to redeem funds—both to and from BitBay. While BitBay remains ultra-low cost for transactions, the bridge enables trading on major decentralized exchanges and access to Solidity smart contracts. This keeps the BitBay chain lean and scalable, while leveraging any compatible network as a sidechain for contract execution.

How does the BitBay bridge contract differ from the ERC-20 standard?

BitBay is extremely different from any token ever conceived on Ethereum. BitBay runs three different contracts(liquid, reserve and frozen) which access the main data contract which handles all peg operations. This allows it to conveniently be integrated into popular wallets such as Metamask. Under the hood however, a user's balance is not actually a single set of values. Instead, it is a series of matrices/arrays that represent a range of values that may be available at different supplies or conditions.

How was it possible to code something so complex in Solidity?

BitBay’s main network uses arrays of 1,200 values to represent each user's balance, allowing for up to 1,200 incremental 1% supply changes. Coins below the current supply index are in reserve; above it, they're liquid. Each coin has “memory” of when it became liquid—crucial for the dynamic peg. Reproducing this on Ethereum posed major challenges: replicating this logic in Solidity led to extreme gas costs—up to 1,000x more than a standard transaction—and even risked exceeding block limits. A breakthrough made this feasible: compressing the full array into two smaller arrays by sacrificing exact position tracking. The method divides the 1,200 steps into 30 large sections, each with 8 temporary values representing fractional steps. This allows smooth deflation/inflation while reducing on-chain data and gas usage dramatically—down to just 20–50x a normal transaction. Although still expensive for Ethereum, this model works well on second-layer solutions like Polygon. When minting back to BitBay, the 38 compressed values are mapped to the closest match in the bridge’s liquidity pool—maintaining fidelity to the main chain’s behavior. This compression/decompression model mimics BitBay's full system with minimal cost and maximum scalability. For full technical details, see the official Solidity source code.

Why can't users interact with some of the AMM exchanges directly at their website?

We wanted BitBay's volume to register on the most popular exchanges because of their large user bases. However, these exchanges aren’t built to understand that reserve or liquid coins may be left behind during a supply change. Also, because every liquidity provider will have different unique shards to their array balance, how can they possibly share a single liquidity pool and still maintain fair withdraws and trades? The solution was another breakthrough: a custom router that interacts with AMMs and accounts for these differences. BitBay automatically detects popular AMM contracts like those used by Uniswap and PancakeSwap. If a user attempts to bypass BitBay’s rules, the system blocks the transaction. Since withdrawals, deposits, and sales require safety checks, the official BitBay router handles all necessary calculations. Fortunately buying and selling is still possible directly through the exchanges so the process is user friendly. This system ensures deposits are only made through the official BitBay router. Lastly, liquidity providers must never privately transfer their LP tokens—withdrawals depend on the original depositor retaining those tokens to maintain system integrity.

Why must users deposit both liquid and reserve coins on a pair?

Since the liquidity pool contract can't determine if coins have been bought, sold, withdrawn, or deposited since the user's deposit was registered, it tries to make all users deposit both liquid and reserve coins, regardless of which pair they are bidding on. This is the fairest way to handle things because supply can change and move other users’ coins into the pool. The way Uniswap calculates LP tokens is by looking at the lowest percentage of coins deposited based on what's in the pool. However, it doesn't consider all the coins that might be left behind. Also, because supply inflates and deflates, it's good to encourage a relatively smooth deposit that will always have coins available for the different supply changes. You will also notice that excess reserve coins in the liquid pair will not be available in the reserve pair, and vice versa. That's because the pairs are held at different addresses, and users have to deposit an altcoin to a specific pair. They are completely separate bids, so they can't share coins.

How can users share liquidity in a pool if they all deposited a different array?

The router registers the array the users deposit and then during a withdraw it runs several operations to get a withdraw that matches their original deposit as closely as possible. The algorithm for this has several important steps that keep withdraws fair. First, it checks to see if the pool has gained or lost coins. Then, it expands the users array to match the new amount. The original deposit array is also deducted although that deduction is different from the coins they receive because it's a different pattern and the pool may not have all the coins available that they originally deposited as coins are bought and sold into the pool from people trading. However, they can iterate each shard and "radiate outward" from that shard up to a certain number of times searching for the closest match for every individual shard. Since this is a lot of iterations, it can cost a lot of gas so if they aren't able to find all the coins nearby they proceed to the final step. If there is any remaining coins owed they are taken from the pool as a traditional payment. The effects are interesting because it also means the higher quality a users deposit is, the higher quality their withdraw is. If the pool nets a profit users who deposit more fairly may also get higher quality liquid and reserve charts paid out to them.

Can central exchanges also run BitBay?

BitBay has an incredibly well documented and highly advanced system for integration with centralized and decentralized exchanges located here. BitBay used to be a top 40 coin hosted on many different central exchanges. After the peg was finished in 2019 BitBay also coded a demo exchange that showed exactly how to adjust orderbooks and perform the complex accounting needed for large volumes of trades. This was done primarily as a courtesy to make integration as easy as possible for interested exchanges. By that time many exchanges disappeared and a few major exchanges remained. The remaining exchanges dropped BitBay as they were either too lazy, greedy or politically motivated to adopt the new technology. Attempts to get new listings resulted in exchanges stealing listing fees or asking for outrageous integration fees without escrow. Even when an exchange did adopt BitBay's peg, it was a short lived success until the exchange became insolvent. Therefore, BitBay has chosen to not pay listing fees to new exchanges as central exchanges compromise user security by not giving them control of their funds, not being open source, at risk for scams, potential front running and potential failure. However exchanges may choose to list for free and BitBay developers and users are able to assist in the auditing of the process.

Does BitBay work with any AMM exchange?

The only AMM exchanges that BitBay is currently compatible with are ones that are similar to Uniswap V2. These exchanges must contain the ability to "sync" balances and have the same names for their functions as Uniswap. Therefore any exchange can add support for BitBay directly at their site by using the official router and carefully following the proper calculations for deposits. BitBay nodes may choose to automatically synchronize popular pairs so users don't have to. All AMM services that wish to integrate BitBay should also discourage and disable private sending of LP tokens so users may withdraw through the router.

How can a smart contract developer interact with BitBay?

Developers can custom code any kind of contract by interacting with BitBay at the base level(the data contract). This may include decentralized exchanges, AMMs, futures and more! Since BitBays economy programs itself, it is highly exciting for new types of financial instruments and Defi. Developers should reach out to our community to learn more.

How is BitBays governance structured?

BitBay has a decentralized governance with a flexible system of contract administration. Curators are added that can vote on important issues. The curators may originate from the BitBay block explorer rich list or they may be chosen because they are trusted members of the community. Contracts can be made to expand on the roles different curators can play in decision making. Each proposal has a different threshold of consensus for when it becomes valid. A user may vote on a proposal only once within its given time frame. Any proposal that effects something major is automatically delayed 45 days to give users time to review it. Eventually the contracts can be locked in place so the system only votes primarily on supply. Merkle proofs also have a pause for confirmation. The users who vote on supply changes can also include a list of AMM exchanges they wish to sync with their winning vote. If they don't automatically sync an AMM pair, it's not a problem because the users can also sync the pair before interacting with it.