Skip to content

Commit

Permalink
GITBOOK-54: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbara Peric authored and gitbook-bot committed Nov 8, 2024
1 parent da84df8 commit 8f77b7e
Show file tree
Hide file tree
Showing 99 changed files with 863 additions and 810 deletions.
1 change: 1 addition & 0 deletions builder-cookbook/dapps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ description: Various features from Filecoin ecosystem to build your dApps.

# dApps

[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/dapps)
4 changes: 4 additions & 0 deletions builder-cookbook/dapps/chain-data-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,7 @@ The expected transaction will be similar as follows. With this information, you
]
},
```



[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/dapps/chain-data-query)
4 changes: 4 additions & 0 deletions builder-cookbook/dapps/cross-chain-bridges.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,7 @@ Note that there is an expected finality period when conducting inter-chain messa
2. [Ready-to-use EC finality calculator](https://github.com/filecoin-project/FIPs/discussions/919) 

Learn more about cross-chain bridges and which bridges are available on which networks in the Filecoin Docs [here](https://docs.filecoin.io/smart-contracts/advanced/cross-chain-bridges). 



[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/dapps/cross-chain-bridges)
4 changes: 4 additions & 0 deletions builder-cookbook/dapps/decentralized-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,7 @@ console.log(results);
```

To learn how to write different select statements using Tableland SDK, you can refer to [here](https://docs.tableland.xyz/sdk/database/prepared-statements).



[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/dapps/decentralized-database)
4 changes: 4 additions & 0 deletions builder-cookbook/dapps/oracles.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ contract PriceContract is UsingTellor {
Oracle contract address (on both Calibration Testnet and Mainnet): `0xb2CB696fE5244fB9004877e58dcB680cB86Ba444`

To see additional addresses for Tellor Oracles, please see [this doc](https://docs.filecoin.io/smart-contracts/advanced/oracles). 



[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/dapps/oracles)
1 change: 1 addition & 0 deletions builder-cookbook/data-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ description: Recipes of using Filecoin data storage features programmatically.

# Data Storage

[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/data-storage)
4 changes: 4 additions & 0 deletions builder-cookbook/data-storage/privacy-and-access-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,7 @@ Lighthouse also provides a number of methods to gate access a given data set. I
```

To review the Lighthouse documentation in its entirety, please visit: [https://docs.lighthouse.storage/lighthouse-1/](https://docs.lighthouse.storage/lighthouse-1/) 



[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/data-storage/privacy-and-access-control)
12 changes: 7 additions & 5 deletions builder-cookbook/data-storage/retrieve-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ description: >-

### <mark style="color:blue;">Retrieve data using retrieval clients</mark>

To retrieve data stored on the Filecoin network, the basic process involves making retrieval requests to Service Providers (SPs) who initially stored the data, using either the Content ID (CID) or the storage deal ID.&#x20;
To retrieve data stored on the Filecoin network, the basic process involves making retrieval requests to Service Providers (SPs) who initially stored the data, using either the Content ID (CID) or the storage deal ID.

A programmatic option is to utilize Filecoin retrieval clients, which handle the intricate retrieval process behind the scenes. By simply providing a Content ID (CID), retrieval clients can efficiently return your data either via the command-line interface (CLI) or through the programmable method.

#### **Ingredients**

With a given CID, you can use any of the following retrieval clients to retrieve content.

* [Lassie](https://github.com/filecoin-project/lassie): optimizes for most efficient available retrieval protocols.&#x20;
* [Lassie](https://github.com/filecoin-project/lassie): optimizes for most efficient available retrieval protocols.
* [go-car](https://github.com/ipld/go-car): a content addressable archive utility.
* [Saturn](https://saturn.tech/): a Web3 CDN in Filecoin’s retrieval market.

Expand All @@ -31,13 +31,13 @@ The Lassie command line interface (CLI) provides the simplest method for retriev
<pre class="language-jsx"><code class="lang-jsx"><strong>lassie fetch -o - &#x3C;CID> | car extract
</strong></code></pre>

For example,&#x20;
For example,

```
lassie fetch -p bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4 | car extract
```

Lassie can also serve as a go library within your Golang application when programmatically retrieving content from the network. To utilize Lassie in your code, you need to install the dependency and import it into your program following the instructions [here](https://github.com/filecoin-project/lassie?tab=readme-ov-file#golang-library).&#x20;
Lassie can also serve as a go library within your Golang application when programmatically retrieving content from the network. To utilize Lassie in your code, you need to install the dependency and import it into your program following the instructions [here](https://github.com/filecoin-project/lassie?tab=readme-ov-file#golang-library).

The following example demonstrates how to use the Lassie library to fetch a CID.

Expand Down Expand Up @@ -89,7 +89,7 @@ func main() {
2. **retrieving content with Saturn**

{% hint style="info" %}
[Saturn Javascript Client](https://github.com/filecoin-saturn/js-client) is still a work in progress and not recommended for use in production yet.&#x20;
[Saturn Javascript Client](https://github.com/filecoin-saturn/js-client) is still a work in progress and not recommended for use in production yet.
{% endhint %}

The following code example demonstrates how to use the Saturn in the Javascript program to fetch a CID.
Expand Down Expand Up @@ -126,3 +126,5 @@ const options = {
For quick retrieval of existing datasets with the methods above, check out the [Filecoin Dataset Explorer](https://dataset-explorer.vercel.app/).

***

[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/builder-cookbook/data-storage/retrieve-data)
Loading

0 comments on commit 8f77b7e

Please sign in to comment.