3005cdad51
- added don yakka to the sponsors - add the logo of the monero community at the top of the sponsors section, since the biggest amount of funds, and the largest contribution so far, come from the monero community |
||
---|---|---|
.github | ||
.idea | ||
apitest | ||
assets/src | ||
cli/src | ||
common/src | ||
core | ||
daemon/src | ||
desktop | ||
docs | ||
gradle | ||
inventory/src/main | ||
media/sponsors | ||
monitor | ||
p2p/src | ||
pricenode | ||
proto/src/main/proto | ||
relay | ||
scripts | ||
seednode | ||
statsnode/src/main | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
Makefile | ||
README.md | ||
settings.gradle |
What is Haveno?
Haveno (pronounced ha‧ve‧no) is a private and decentralized way to exchange Monero for national currencies or other cryptocurrencies. Haveno uses peer-to-peer networking and multi-signature escrow to facilitate trading without a trusted third party custodian. Disputes can be resolved using non-custodial arbitration. Everything is built around Monero and Tor.
Haveno is the Esperanto word for "Harbor". The project is stewarded by a core Team, currently formed by 2 people: ErCiccione and Woodser.
Why a new platform?
Haveno is a fork of Bisq, the Bitcoin based decentralized exchange. We believe Bisq is not enough for Monero users, which badly need a private way to exchange Monero for other (crypto)currencies.
Haveno is built on Monero, which means all transactions between users are obfuscated by default. Bisq's system is based on Bitcoin and inherits all its design flaws, for example:
- All Bisq's in-platform transactions are based on Bitcoin, which make them slow and fully traceable.
- Bisq transactions are unique and easily visible on the blockchain. This means it's trivial to check which Bitcoin transactions are the result of a trade on Bisq.
Trade fees will also be drastically lower, as Monero has much lower transaction fees compared to bitcoin (average transaction fee: XMR=$0.003 BTC=$9 ).
Even if XMR transactions compose the vast majority of Bisq's activity, Bisq's team haven't displayed much interest in improving their Monero support. The important privacy issues mentioned above will be solved by simply having Monero as a base currency instead of Bitcoin.
We acknowledge and thank Bisq for their efforts, but we think the Monero community needs a native, private way to exchange XMR for other currencies without passing through Bitcoin first and Haveno is here to fill that gap! We commit to contribute back to Bisq when possible.
Status of the project
At the moment Haveno is only a Proof of Concept. It's already possible to initiate crypto <-> XMR and fiat <-> XMR trades, but the platform still needs a lot of work before being available for public use.
There is a lot in progress and a lot to do. To make contributions easier, we use some of github's tools, like labels and projects. We set up a labelling system which should make easier for people to contribute. Problems and requests about the Haveno platform are tracked on this repository. For general discussions and proposals that affect the entire Haveno ecosystem, please open an issue in the haveno-meta repository.
These are the main priorities for the near future:
- The User Interface is basically still Bisq. Needs to be completely reworked and adapted for Monero as base currency. The new design is discussed and developed in haveno-design
- Cleanup the repository from Bisq-specific content (https://github.com/haveno-dex/haveno/projects/1)
Bounties
To incentivize development we adopt a simple bounty system. Contributors may be awarded bounties after completing a task (resolving an issue). More details in the docs.
Keep in touch and help out!
Haveno is a community-driven project. For it to be succesful it's fundamental to have the support and help of the Monero community. We have our own Matrix server. Registrations are not open at the moment, but the rooms are public and can be joined from any matrix client (like Element). We look forward to hearing from you!
- General discussions: Haveno (
#haveno:haveno.network
) relayed on Freenode (#haveno
) - Development discussions: Haveno Development (
#haveno-dev:haveno.network
) relayed on Freenode (#haveno-dev
)
Temporary email: havenodex@protonmail.com
FAQ
See the FAQ in the wiki.
Running a local Haveno test network
- Download Monero CLI for your system and sync Monero stagenet:
./monerod --stagenet --rpc-login superuser:abctesting123
, or alternatively, set up a local Monero stagenet network (recommended) - Download and install Bitcoin-Qt
- Run Bitcoin-Qt in regtest mode, e.g.:
./Bitcoin-Qt -regtest -peerbloomfilters=1
- In Bitcoin-Qt console, mine BTC regtest blocks:
generatetoaddress 101 bcrt1q6j90vywv8x7eyevcnn2tn2wrlg3vsjlsvt46qz
- Install git lfs for your system
Ubuntu:sudo apt install git-lfs
git clone https://github.com/Haveno-Dex/haveno
- Copy monero-wallet-rpc from step 1 to the haveno project root
- Apply permission to run monero-wallet-rpc, e.g.
chmod 777 monero-wallet-rpc
- Optionally modify WalletConfig.java with custom settings
cd haveno
./gradlew build
- Start seed node, arbitrator, Alice, and Bob:
./bisq-seednode --baseCurrencyNetwork=BTC_REGTEST --useLocalhostForP2P=true --useDevPrivilegeKeys=true --nodePort=2002 --appName=bisq-BTC_REGTEST_Seed_2002 --daoActivated=false
./bisq-desktop --baseCurrencyNetwork=BTC_REGTEST --useLocalhostForP2P=true --useDevPrivilegeKeys=true --nodePort=4444 --appName=bisq-BTC_REGTEST_arbitrator --daoActivated=false --apiPassword=apitest --apiPort=9998
./bisq-desktop --baseCurrencyNetwork=BTC_REGTEST --useLocalhostForP2P=true --useDevPrivilegeKeys=true --nodePort=5555 --appName=bisq-BTC_REGTEST_Alice --daoActivated=false --apiPassword=apitest --apiPort=9999
./bisq-desktop --baseCurrencyNetwork=BTC_REGTEST --useLocalhostForP2P=true --useDevPrivilegeKeys=true --nodePort=6666 --appName=bisq-BTC_REGTEST_Bob --daoActivated=false --apiPassword=apitest --apiPort=10000
- Arbitrator window > Account > cmd+n to register a new arbitrator
- Arbitrator window > Account > cmd+d to register a new mediator
- Deposit stagenet XMR to Alice and Bob's Haveno wallets (wallet address printed to terminal)
- When deposited XMR is available, proceed to post offers, etc
Running a local Monero stagenet network
- Build monero-project with the following modification to the bottom of hardforks.cpp:
const hardfork_t stagenet_hard_forks[] = { // version 1 from the start of the blockchain { 1, 1, 0, 1341378000 }, // versions 2-7 in rapid succession from March 13th, 2018 { 2, 10, 0, 1521000000 }, { 3, 20, 0, 1521120000 }, { 4, 30, 0, 1521240000 }, { 5, 40, 0, 1521360000 }, { 6, 50, 0, 1521480000 }, { 7, 60, 0, 1521600000 }, { 8, 70, 0, 1537821770 }, { 9, 80, 0, 1537821771 }, { 10, 90, 0, 1550153694 }, { 11, 100, 0, 1550225678 }, { 12, 110, 0, 1571419280 }, { 13, 120, 0, 1598180817 }, { 14, 130, 0, 1598180818 } };
- Using the executables built in step 1:
./monerod --stagenet --no-igd --hide-my-port --data-dir node1 --p2p-bind-ip 127.0.0.1 --p2p-bind-port 48080 --rpc-bind-port 48081 --zmq-rpc-bind-port 48082 --add-exclusive-node 127.0.0.1:38080 --rpc-login superuser:abctesting123 --rpc-access-control-origins http://localhost:8080
./monerod --stagenet --no-igd --hide-my-port --data-dir node2 --p2p-bind-ip 127.0.0.1 --rpc-bind-ip 0.0.0.0 --confirm-external-bind --add-exclusive-node 127.0.0.1:48080 --rpc-login superuser:abctesting123 --rpc-access-control-origins http://localhost:8080
- Mine the first 130 blocks to a random address before using so wallets only use the latest output type. For example, in a daemon:
start_mining 56k9Yra1pxwcTYzqKcnLip8mymSQdEfA6V7476W9XhSiHPp1hAboo1F6na7kxTxwvXU6JjDQtu8VJdGj9FEcjkxGJfsyyah 1
Sponsors
Would you like to help us build Haveno? Become a sponsor! We will show your logo here. Contact us at havenodex@protonmail.com.
Support
To bring Haveno to life, we need resources. If you have the possibility, please consider donating to the project. At this stage, donations are fundamental:
42sjokkT9FmiWPqVzrWPFE5NCJXwt96bkBozHf4vgLR9hXyJDqKHEHKVscAARuD7in5wV1meEcSTJTanCTDzidTe2cFXS1F
If you are using a wallet that supports Openalias (like the 'official' CLI and GUI wallets), you can simply put donations@haveno.network
as the "receiver" address.