You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/quick-start.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ At this point, you can already invoke Wraps! In the simple example below, we wil
74
74
75
75
```javascript
76
76
constresult=awaitclient.invoke({
77
-
uri:"ens/wraps.eth:logger@1.0.0",
77
+
uri:"wrapscan.io/polywrap/logger@1.0",
78
78
method:"log",
79
79
args: {
80
80
message:"Hello Polywrap!",
@@ -95,7 +95,7 @@ The first line is printed by the Logger Wrap, while the second line shows the st
95
95
96
96
#### What's going on here?
97
97
98
-
Using the Polywrap Client, we are invoking the `log` method of a Wrap found under the [WRAP URI](/concepts/uris)`ens/wraps.eth:logger@1.0.0` called the Logger Wrap.
98
+
Using the Polywrap Client, we are invoking the `log` method of a Wrap found under the [WRAP URI](/concepts/uris)`wrapscan.io/polywrap/logger@1.0` called the Logger Wrap.
99
99
100
100
Under the hood, through a process we call URI Resolution, the Polywrap Client knows how to fetch and execute the Wrap from decentralized storage.
101
101
@@ -124,7 +124,7 @@ We can use the Uniswap Wrap to fetch Uniswap's basic data related to the WETH an
// Since the CID is a directory, we need to add a path to the Wrap's manifest file
222
222
constcatResult=awaitclient.invoke({
223
-
uri:"ens/wraps.eth:ipfs-http-client@1.0.0",
223
+
uri:"wrapscan.io/polywrap/ipfs-http-client@1.0",
224
224
method:"cat",
225
225
args: {
226
226
cid: cid +"/wrap.info",
@@ -339,11 +339,11 @@ In the context of an application project, the Schema file defines which Wraps ou
339
339
Taking a look at the file, we can see two `import` statements:
340
340
341
341
```graphql title="schema.graphql"
342
-
#import * into Logging from "ens/wraps.eth:logging@1.0.0"
343
-
#import * into Ethereum from "ens/wraps.eth:ethereum@1.0.0"
342
+
#import * into Logging from "wrapscan.io/polywrap/logging@1.0"
343
+
#import * into Ethereum from "wrapscan.io/polywrap/ethereum@1.0"
344
344
```
345
345
346
-
An `import` statement defines which Wraps we are importing, therefore using within our application. Imports are namespaced - the Wrap found under the WRAP URI `ens/wraps.eth:logging@1.0.0` is going to be found within the `Logging_` namespace.
346
+
An `import` statement defines which Wraps we are importing, therefore using within our application. Imports are namespaced - the Wrap found under the WRAP URI `wrapscan.io/polywrap/logging@1.0` is going to be found within the `Logging_` namespace.
347
347
348
348
#### Generating types (`codegen`)
349
349
@@ -392,7 +392,7 @@ Let's revisit our Uniswap V3 Wrap example from the Quick Start tutorial. If we w
0 commit comments