Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FAQ to docs and document precision #324

Merged
merged 1 commit into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
description: Frequently Asked Questions
---

# FAQ

## What is the precision of MOB?

The atomic unit for MOB is picoMOB, which is 1e-12. You need u64 to represent MOB, and many frameworks, DBs, and languages top out at u32 or i64. This is why Full-Service json responses are all strings. For i64 issues there is technically no loss of precision, but you need to cast back to u64 when fetching data.
4 changes: 0 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ Full-service is MobileCoin's wallet backend. With full-service you can:
- For an introduction to using full-service check out the guide to [accounts and transactions](tutorials/receive-mob).
- For detailed information on how full-service stores data, check out the guide to [database usage](tutorials/database-usage.md).
- If you are having issues sending or receiving MOB, check out the guide to [resolving disputes](tutorials/resolve-disputes.md).




3 changes: 3 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@
* [Resolve Disputes](tutorials/resolve-disputes.md)
* [View Only Account](usage/view-only-account/README.md)
* [Transaction Signer](usage/view-only-account/transaction-signer.md)

## Frequently Asked Questions
[FAQ](FAQ.md)