Skip to content

Add "Stabilizing bitcoin value" page - #1067

Merged
GBKS merged 7 commits into
masterfrom
feature/stabilizing-bitcoin-value
Feb 20, 2024
Merged

GBKS merged 7 commits into
masterfrom
feature/stabilizing-bitcoin-value

Conversation

@GBKS

@GBKS GBKS commented Jan 26, 2024 •

Copy link
Copy Markdown
Contributor

Adds a new page to the How it works section about stabilizing bitcoin value relative to other currencies.

🙅Check the preview🙆

Closes #866

@GBKS GBKS added the How it works Referring to the How it works section. label Jan 26, 2024
@GBKS GBKS self-assigned this Jan 26, 2024
@netlify

netlify Bot commented Jan 26, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for bitcoin-design-site ready!

Name Link
🔨 Latest commit f4b51a2
🔍 Latest deploy log https://app.netlify.com/sites/bitcoin-design-site/deploys/65cdf5bd331e120008e1a230
😎 Deploy Preview https://deploy-preview-1067--bitcoin-design-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

rabbitholiness
rabbitholiness previously approved these changes Jan 29, 2024

@rabbitholiness rabbitholiness left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Didn't find anything to nitpick on. I also checked all the links on the page. 👍

@GBKS

GBKS commented Jan 29, 2024

Copy link
Copy Markdown
Contributor Author

@sbddesign may I ask you for your review on this one, since you wrote the original draft?

@bonomat bonomat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice write up and thanks for mentioning 10101 :)


{% include fact/cons.html %}

- The oracle goes down, so the smart contract no longer knows what the real-world price is. A default path in the DLC must be exercised and the user reclaims their original quantity of bitcoin but loses the price stability.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as Robert and Alice cooperate they don't need the oracle. The oracle is only needed if the two do not cooperate.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also mention that to mitigate the risk of having the oracle going down, it is possible to have a quorum of oracles.

As for the risk of exchange rate discrepancies between the different sources used by these oracles, it is also possible to average them out.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's interesting. I assumed the process was fully automated based on the oracle data, but sounds like the oracle is there for conflict resolution.

So what's the process for Robert and Alice to cooperate on this? One of them requests a "closing" of the contract with a specific outcome, and the other has to agree/sign?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what's the process for Robert and Alice to cooperate on this? One of them requests a "closing" of the contract with a specific outcome, and the other has to agree/sign?

Yes exactly. We call it collaborative close. In general it behaves similar to how lightning resolves HTLCs:
Look, I know the secret, I could go on-chain and get the money from the HTLC ... or, we could resolve this off-chain vs. Look, the oracle would say price is X, I could go on-chain and get the money ... or, we could resolve this off-chain.
Obviously, if the oracle is not there anymore, a non-cooperative party could keep the money hostage or say you have to go on-chain... and if then there is still on oracle, a refund would come into play and both parties would get their money back.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the text (not where you left the comment, but a bit further up the page where oracles are first described). Thanks for the input.

Comment thread guide/how-it-works/stabilizing-bitcoin-value.md Outdated

- [Tokens](#tokens)
- [Synthetic currencies](#synthetic-currencies)
- [Discrete Log Contracts (DLCs)](#discrete-log-contracts-dlcs)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one more category which you could write about: Stable Channels see Tony's tweet here: https://x.com/tonklaus/status/1743179494524121559?s=20

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I'll open that up as a separate issue once this PR is merged.

@GBKS

GBKS commented Feb 15, 2024

Copy link
Copy Markdown
Contributor Author

I made a few copy tweaks based on feedback, and also updated from master. Ready for another review. Thanks in advance.

@danielnordh danielnordh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good addition

@GBKS
GBKS merged commit 6e8bbf2 into master Feb 20, 2024
@GBKS
GBKS deleted the feature/stabilizing-bitcoin-value branch February 20, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

How it works Referring to the How it works section.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fiat Over Lightning - How it Works

5 participants