bisq-network/bisq2
소개
Bisq 2 will be the successor to Bisq v1 and will support multiple trade protocols, multiple privacy networks and multiple identities. Read more about Bisq 2 in the Bisq wiki
기타 프로젝트측정된 스타 증가
- in 24h
- +1
- in 7 days
- +4
- in 15 days
- +4
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalBisq 2: The Decentralized Trading Platform
Bisq 2 will be the successor to Bisq v1 and will support multiple trade protocols, multiple privacy networks and multiple identities. Read more about Bisq 2 in the Bisq wiki
For the initial release Bisq 2 will come with the Bisq Easy protocol only. Work on the other protocols will start after Bisq 2 has been shipped.
Bisq Easy is designed for novice Bitcoin users with a focus on ease of use and convenience. It does not require that the user already has Bitcoin and it is based on an easy-to-use chat interface. Security is based on reputation of the Bitcoin seller. It does not compete with the current Bisq v1 trade protocol but is complementary to it. It serves and targets a user group which we cannot reach with Bisq v1. You can read more about Bisq Easy in the Bisq wiki.
Getting Started
Quick Setup
Clone Bisq 2:
git clone --recurse-submodules https://github.com/bisq-network/bisq2.gitcd bisq2Install Dependencies: Bisq requires JDK 21. See our Installation Guide for detailed instructions.
Update to latest GitHub version:
git pull --recurse-submodulesBuild desktop client distribution:
./gradlew :apps:desktop:desktop-app:installDistRun desktop client:
./apps/desktop/desktop-app/build/install/desktop-app/bin/desktop-appRun desktop client with custom data directory:
./apps/desktop/desktop-app/build/install/desktop-app/bin/desktop-app --data-dir=<data_dir>
For Windows environments: replace ./gradlew with gradlew.bat.
Tor Submodule
The directory tor/ is the Git submodule tor, the Tor build of Bisq. Bisq 2
records one commit of it, and tor/ must contain this commit.
Check out the recorded commit. A clone without --recurse-submodules, a git pull without it, and a branch switch
leave tor/ empty or at another commit. Then run:
git submodule update --init
This command does not take new commits of the tor repository. It checks out the commit which Bisq 2 records, also when
tor/ has a newer commit checked out.
If tor/ still contains files of a checkout from before the submodule, for example tor/build of an earlier build, the
command fails with destination path 'tor' already exists and is not an empty directory. Remove the directory first
(rm -rf tor) and run the command again.
To let git pull and git switch update tor/ automatically, run once: git config submodule.recurse true.
Update Bisq 2 to a newer commit of the tor repository:
- Fetch the new commits into
tor/and check out the new commit there:git -C tor fetch origin git -C tor checkout <commit>
To use the main branch:
git -C tor fetch origin
git -C tor checkout origin/main
git submodule update --remote tor does both for the newest commit of the main branch.
2. Review the changes which the update brings:
git diff --submodule=log tor
- Build and test, then commit the new commit of
tor/in Bisq 2:git add torgit commit -s -S
Change the Tor code. tor/ is a repository of its own. Commit the change in tor/ on a branch and push it to the
tor repository. Then commit the new commit of tor/ in Bisq 2 as in step 3. Push the tor commit first, otherwise other
clones of Bisq 2 cannot check it out.
Use a local Tor repository. For local development, a checkout which uses a local repository tor next to the
Bisq 2 checkout can override the published URL in its local Git configuration. Use relative paths, so that the URLs work
when another machine (for example a virtual machine) sees the directories under another absolute path:
git config submodule.tor.url ../tor
git -C tor remote set-url origin ../../tor
Git resolves the first URL from the Bisq 2 checkout and the second from tor/. Git refuses local submodule URLs by
default, so add -c protocol.file.allow=always to submodule commands which clone, for example
git -c protocol.file.allow=always submodule update --init. Do not run git submodule sync in such a checkout: it
restores the published URL from .gitmodules in both places, replacing the local overrides.
Community and Contributions
Bisq is an open source project and a Decentralized Autonomous Organization (DAO).
Before starting development work, read the contribution and compensation guidelines and discuss priorities and review capacity with the maintainers on Matrix. Every contributed commit requires a DCO sign-off and a GPG signature.
Report suspected security issues privately using Report a vulnerability on the Bisq 2 Security Advisories page. Keep security reports and proposed fixes out of public channels.
If you are a developer check out the dev guide.
Why work on Bisq 2?
- Technological Edge: P2P network, Bitcoin, Cryptography,...
- Complex, Rewarding Challenges: Dive into a sophisticated architecture that rewards ingenuity.
License
Bisq 2 is licensed under the AGPL-3.0 license. All contributions are subject to this license.
관련 프로젝트 살펴보기
불러오는 중…