Skip to content

Commit 9cae510

Browse files
committed
LFB
1 parent b9ebb30 commit 9cae510

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+300
-138
lines changed

pages/build/d/_meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"quickstart": "Quickstart",
33
"features": "Features",
4-
"network": "Network",
54
"sdk": "SDK",
65
"irys-in-the-browser" : "Irys in the Browser",
76
"storage-cli": "Storage CLI",

pages/build/d/features/ipfs-cid.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ IPFS and Irys take a different approach to identifying data, IPFS uses Content I
2424
To upload data to Irys using a CID, embed it as the value of the `IPFS-CID` tag when uploading data.
2525

2626
<Callout type="info" emoji="ℹ️">
27-
This code example generates a CID using the `ipfs-only-hash` package which uses the SHA-256 algorithm by default. IPFS
28-
also allows CIDs to be generated using SHA3 and Blake2, all of which are supported when uploading to Irys.
27+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
2928
</Callout>
3029

30+
3131
```js
3232
import IPFS from "ipfs-only-hash";
3333

@@ -54,6 +54,11 @@ const uploadToIrysWithCID = async () => {
5454
};
5555
```
5656

57+
<Callout type="info" emoji="ℹ️">
58+
This code example generates a CID using the `ipfs-only-hash` package which uses the SHA-256 algorithm by default. IPFS
59+
also allows CIDs to be generated using SHA3 and Blake2, all of which are supported when uploading to Irys.
60+
</Callout>
61+
5762
## Downloading with a CID
5863

5964
To download data tagged with a CID, request it from the Irys gateway using a URL in the format `https://gateway.irys.xyz/ipfs/:contentID`.

pages/build/d/features/manual-tx.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ After calling `tx.sign()`, you can access the transaction ID via `tx.id`, this f
2525

2626
Basic workflow.
2727

28+
<Callout type="info" emoji="ℹ️">
29+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
30+
</Callout>
31+
2832
```js
2933
const createSignUpload = async () => {
3034
// Get a reference to a pre-configured Irys object

pages/build/d/features/mutability.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ To create a mutable reference:
1414

1515
1. Upload a base transaction to Irys and reference it using a URL in the following format `https://gateway.irys.xyz/mutable/:txId`
1616

17+
<Callout type="info" emoji="ℹ️">
18+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
19+
</Callout>
20+
1721
```js
1822
const irys = await getIrysBundler();
1923
const receiptOne = await irys.upload("First TX");

pages/build/d/features/onchain-folders.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ This example:
6969
3. Creates a manifest mapping the transactions to paths.
7070
4. Permanently uploads the manifest using Irys.
7171

72+
<Callout type="info" emoji="ℹ️">
73+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
74+
</Callout>
75+
7276
```ts
7377
// Get the most recent 'totalIds' number TXs tagged 'image/gif'
7478
const getTxIds = async () => {

pages/build/d/features/supported-tokens.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ On our testnet, you can pay for uploads in any of these tokens:
3737

3838
The Irys SDK reduces dependency bloat by providing dedicated packages for each token. Your import statements and connection code will differ depending on the token used for payment.
3939

40-
The following code is for using ethereum only, we [also have examples covering all of the tokens we support for payment](/build/d/sdk/import-configure).
40+
The following code is for using ethereum only, we [also have examples covering all of the tokens we support for payment](/build/d/sdk/install-configure).
4141

4242
```ts
4343
import EthereumBundlerIrys from "@irys-network/bundler-ethereum";

pages/build/d/guides/ai-prompts.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ irys upload myPrompt.json \
107107

108108
Or [SDK](/build/d/sdk/upload/uploadFile):
109109

110+
<Callout type="info" emoji="ℹ️">
111+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
112+
</Callout>
113+
110114
```ts
111115
const uploadMetadata = async () => {
112116
const irys = await getIrysBundler();

pages/build/d/guides/depin-data.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ irys upload depin_data.json \
5656

5757
Or through the [Irys SDK](/build/d/sdk/installing-the-sdk):
5858

59+
<Callout type="info" emoji="ℹ️">
60+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
61+
</Callout>
62+
5963
```ts
6064

6165
const uploadDePINData = async () => {

pages/build/d/guides/dynamic-nft.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ In this guide, you'll create a SuperMon NFT that evolves during gameplay. The NF
2424

2525
1. You start uploading a single transaction. This becomes the head of your transaction chain:
2626

27+
<Callout type="info" emoji="ℹ️">
28+
Use a token-specific version of `getIrysBundler()` to connect to an Irys Bundler before uploading. Choose [one from here](/build/d/sdk/install-configure).
29+
</Callout>
30+
2731
```js
2832
const irys = await getIrysBundler();
2933
const receiptOne = await irys.upload("First TX");

pages/build/d/guides/monitor-account-balance.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ These three techniques are all equally effective options.
1919
## JavaScript
2020

2121
<Callout type="info" emoji="ℹ️">
22-
The following `getIrysBundler()` function is for using the Ethereum token only, we [also have examples covering all of the tokens we support for payment](/build/d/sdk/import-configure).
22+
The following `getIrysBundler()` function is for using the Ethereum token only, we [also have examples covering all of the tokens we support for payment](/build/d/sdk/install-configure).
2323
</Callout>
2424

2525
```js

0 commit comments

Comments
 (0)