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

Update doc: Reown and Primus Branding Integration #895

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
baaf21d
Update README.mdx
qvkare Nov 30, 2024
861c69c
edited curl
qvkare Nov 30, 2024
6f3bb80
edited curl
qvkare Nov 30, 2024
8507fac
edited curl
qvkare Nov 30, 2024
6670168
Merge branch 'Consensys:main' into main
qvkare Dec 7, 2024
cccd337
reown.jpg uploaded
qvkare Dec 7, 2024
81ed317
Update and rename walletconnect.mdx to reown.mdx
qvkare Dec 7, 2024
c57cf1b
Update redirects.json
qvkare Dec 7, 2024
dbdfe1f
Add files via upload
qvkare Dec 8, 2024
d568319
Update and rename pado.mdx to primus.mdx
qvkare Dec 8, 2024
6d6cee6
Update sidebars.js
qvkare Dec 8, 2024
024b472
Update redirects.json
qvkare Dec 8, 2024
c904db4
Update node size data
qvkare Dec 9, 2024
84f277d
Merge branch 'main' into main
jlwllmr Dec 11, 2024
b111e65
update sidebars.js
qvkare Dec 11, 2024
08af493
Update data.json
qvkare Dec 11, 2024
83cc1a4
Merge pull request #1 from qvkare/update-node-size-data
qvkare Dec 11, 2024
58423e5
Merge branch 'main' into update-node-size-data
qvkare Dec 11, 2024
005ec26
Merge branch 'main' into update-node-size-data
qvkare Dec 11, 2024
cfed247
update primus.mdx
qvkare Dec 11, 2024
7159e60
Update reown.mdx
qvkare Dec 11, 2024
b5df0f9
Adjust redirects
jlwllmr Dec 12, 2024
458fdff
Update node size data
qvkare Dec 16, 2024
c2a5915
Merge branch 'main' into update-node-size-data
qvkare Dec 16, 2024
7d1881f
Merge branch 'main' into update-node-size-data
jlwllmr Dec 16, 2024
62f08ba
Merge branch 'update-node-size-data' of https://github.com/qvkare/doc…
jlwllmr Dec 16, 2024
d707ae5
Merge branch 'main' into update-node-size-data
qvkare Dec 16, 2024
c6dad1e
Update primus.mdx
qvkare Dec 16, 2024
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
65 changes: 0 additions & 65 deletions docs/get-started/tooling/attestations/pado.mdx

This file was deleted.

60 changes: 60 additions & 0 deletions docs/get-started/tooling/attestations/primus.mdx
qvkare marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: Primus
image: /img/socialCards/primus.jpg
---

[Primus](https://www.primuslabs.xyz) is a cryptography-based attestation protocol to bring all Internet
data into smart contracts. Primus relies heavily on cryptography to minimize trust, and enables end

Check warning on line 7 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Adverbs] Remove 'heavily' if it's not important to the meaning of the statement. Raw Output: {"message": "[Microsoft.Adverbs] Remove 'heavily' if it's not important to the meaning of the statement.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 7, "column": 42}}}, "severity": "WARNING"}
users to prove the correctness of their personal web data in a privacy-preserving manner.

The core techniques used in Primus include zkTLS and zkFHE. End users run Primus client apps to attest their personal web data, and create related data proofs with the help of Primus nodes. These data proofs are cryptographically verified attestations with security guarantees including:

- **Data authenticity**: The user web data is honestly retrieved from the indicated data source, and

Check warning on line 12 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Adverbs] Remove 'honestly' if it's not important to the meaning of the statement. Raw Output: {"message": "[Microsoft.Adverbs] Remove 'honestly' if it's not important to the meaning of the statement.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 12, "column": 47}}}, "severity": "WARNING"}
the integrity is secured by zkTLS and other advanced cryptographic techniques.
- **Privacy**: When coupled with specific application logic, users' sensitive information is
well-protected under the zero-knowledge property.

The zkTLS and zkFHE techniques are general enough for both data source integration and data
computation. For instance, you can create your own attestations including but not limited to:

- Proofs of CEX assets, e.g., Alice has more than 1000 USD for her total token values in Coinbase;

Check failure on line 20 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Foreign] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Microsoft.Foreign] Use 'for example' instead of 'e.g.,'.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 20, "column": 25}}}, "severity": "ERROR"}
- Proofs of specific token holding, e.g., Alice holds more than 2 ETH in Binance;

Check failure on line 21 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Foreign] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Microsoft.Foreign] Use 'for example' instead of 'e.g.,'.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 21, "column": 37}}}, "severity": "ERROR"}
- Proofs of nationality, e.g., Alice is a verified bank user with British nationality;

Check failure on line 22 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Foreign] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Microsoft.Foreign] Use 'for example' instead of 'e.g.,'.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 22, "column": 26}}}, "severity": "ERROR"}
- Proofs of a heavy gamer, e.g., Bob plays more than 10 hours per day on Steam games.

Check failure on line 23 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Foreign] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Microsoft.Foreign] Use 'for example' instead of 'e.g.,'.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 23, "column": 28}}}, "severity": "ERROR"}

## For developers

The Primus team is creating a template-based SDK (in progress) for developers to build their own
applications using Primus' off-chain attestation capabilities. The SDK will encapsulate the details
of underlying cryptographic algorithms and protocols, and provide high-level interfaces for
application developers to manage the data retrieval and data computation. Developers can leverage
the SDK in two aspects:

- Use the data source templates to integrate with any preferred Internet data source, and to attest
the corresponding type of data.
- Define and implement their own application logic by integrating with data consumption templates.

## Networks

Primus is deployed on Linea, and integrated with [Verax](https://github.com/Consensys/verax-documentation),
a public attestation registry to store and manage attestation data that can be accessed by any
party. This means Primus users can submit these data proofs to Linea via Verax, which can be further
accessed by other dapps. The following contract address is the Primus portal contract:

| Network | Contract address |
| --- | --- |
| Linea Mainnet | [`0x50bd377EB8D4236Bb587AB3FB1eeafd888AEeC58`](https://lineascan.build/address/0x50bd377EB8D4236Bb587AB3FB1eeafd888AEeC58) |

## Resources

Learn more and start using Primus!

- [Documentation](https://docs.primuslabs.xyz/)
- [Technical whitepaper](https://eprint.iacr.org/2023/964.pdf)

Check failure on line 53 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'whitepaper'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'whitepaper'?", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 53, "column": 14}}}, "severity": "ERROR"}

## Learn more

- [Twitter](https://x.com/primus_labs)
- [Website](https://www.primuslabs.xyz)
- [Medium](https://medium.com/@primuslabs)
- [Github](https://github.com/primus-labs)

Check failure on line 60 in docs/get-started/tooling/attestations/primus.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'GitHub' instead of 'Github'. Raw Output: {"message": "[Vale.Terms] Use 'GitHub' instead of 'Github'.", "location": {"path": "docs/get-started/tooling/attestations/primus.mdx", "range": {"start": {"line": 60, "column": 4}}}, "severity": "ERROR"}
8 changes: 8 additions & 0 deletions docs/get-started/tooling/libraries/reown.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: REOWN Protocol
qvkare marked this conversation as resolved.
Show resolved Hide resolved
image: /img/socialCards/reown.jpg
---

The REOWN protocol enables users from a multitude of wallets to log into decentralized applications. Linea is now listed inside the chain list for any project configuration on [REOWN Cloud](https://cloud.reown.com).
qvkare marked this conversation as resolved.
Show resolved Hide resolved

To learn more about the REOWN protocol, take a look at the official [page](https://reown.com/).
qvkare marked this conversation as resolved.
Show resolved Hide resolved
11 changes: 0 additions & 11 deletions docs/get-started/tooling/libraries/walletconnect.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion linea-node-size/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,6 @@
"dailyIncrease": 3169955840,
"timestamp": "2024-12-16T00:04:39.454Z"
}
]
],
}
}
16 changes: 11 additions & 5 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,11 @@
]
},
{
"to": "/get-started/tooling/libraries/walletconnect",
"from": "/developers/tooling/libraries/wallet-connect"
"to": "/get-started/tooling/libraries/reown",
"from": [
"/developers/tooling/libraries/reown",
"/developers/tooling/libraries/walletconnect"
]
},
{
"to": "/get-started/concepts/architecture",
Expand Down Expand Up @@ -280,8 +283,11 @@
"from": "/developers/tooling/attestations"
},
{
"to": "/get-started/tooling/attestations/pado",
"from": "/developers/tooling/attestations/pado"
"to": "/get-started/tooling/attestations/primus",
"from": [
"/developers/tooling/attestations/pado",
"/get-started/tooling/attestations/pado"
]
},
{
"to": "/get-started/tooling/privacy/secret",
Expand Down Expand Up @@ -702,4 +708,4 @@
"to": "/api/reference/linea-getproof",
"from": "/developers/reference/api/linea-getproof"
}
]
]
6 changes: 3 additions & 3 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const sidebars = {
},
items: [
"get-started/tooling/attestations/verax",
"get-started/tooling/attestations/pado",
"get-started/tooling/attestations/primus",
],
},
{
Expand Down Expand Up @@ -300,7 +300,7 @@ const sidebars = {
"get-started/tooling/libraries/multicall",
"get-started/tooling/libraries/viem",
"get-started/tooling/libraries/wagmi",
"get-started/tooling/libraries/walletconnect",
"get-started/tooling/libraries/reown",
],
},
{
Expand Down Expand Up @@ -453,4 +453,4 @@ const sidebars = {
]
}

module.exports = sidebars;
module.exports = sidebars;
Binary file added static/img/socialCards/primus.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/socialCards/reown.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading