[bisq-network/proposals] Add referrer Id for external Bisq market makers (#28)

Manfred Karrer notifications at github.com
Tue Jun 26 19:07:36 UTC 2018


I implemented the feature.

If one trader has a referral ID set and the other not then both trade statistic objects get stored and we can detect it. If both traders have the same referral ID set we only store one trade statistic object. If both have different referral IDs both trade statistic objects get stored and displayed as well.

Referral ID can be set in preferences:
<img width="1197" alt="screen shot 2018-06-26 at 20 40 27" src="https://user-images.githubusercontent.com/1449498/41932396-305fed84-7981-11e8-931b-5a84310107af.png">

The entered referral ID must match one of the hard codes items.
Market makers get one assigned by the core developers.

At any of the market views to show the trades with a referral ID set click cmd+t to see a popup. As the text can be long it is truncated but can be copied with the copy button:
<img width="1198" alt="screen shot 2018-06-26 at 20 39 15" src="https://user-images.githubusercontent.com/1449498/41932358-19c51d38-7981-11e8-895e-68ceb293510e.png">

Item example:
Trade ID: yStswV-181f471b-de9f-4493-897f-44610818856e-070
Date: Jun 26, 2018 8:22:32 PM
Market: BTC/USD
Price: 6715.4376
Amount: 0.0001
Volume: 0.67
Payment method: Perfect Money
ReferralID: REF_ID_342

At any of the market views to show the offers with a referral ID set click cmd+o to see a popup. As the text can be long it is truncated but can be copied with the copy button:
<img width="1196" alt="screen shot 2018-06-26 at 20 39 24" src="https://user-images.githubusercontent.com/1449498/41932335-0a8ff860-7981-11e8-8835-11c1ca73a18a.png">

Item example:
Offer ID: FZTZRAB-60c5c526-fb6c-4ecf-9c55-3f83a65d6f51-070
Type: BUY
Market: BTC/USD
Price: 6691.4250
Amount: 0.0001 BTC
Payment method: Perfect Money
ReferralID: REF_ID_342

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/proposals/issues/28#issuecomment-400428449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180626/73ed2afa/attachment.html>


More information about the bisq-github mailing list