@@ -77,9 +77,9 @@ import { Wallet } from 'ethers'
77
77
const wallet = Wallet .createRandom ()
78
78
// Create the client with your wallet. This will connect to the XMTP development network by default
79
79
const xmtp = await Client .create (wallet )
80
- // Start a conversation with Vitalik
80
+ // Start a conversation with XMTP
81
81
const conversation = await xmtp .conversations .newConversation (
82
- ' 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 '
82
+ ' 0x3F11b27F323b62B159D2642964fa27C46C841897 '
83
83
)
84
84
// Load all messages in the conversation
85
85
const messages = await conversation .messages ()
@@ -166,7 +166,7 @@ You can create a new conversation with any Ethereum address on the XMTP network.
166
166
167
167
``` ts
168
168
const newConversation = await xmtp .conversations .newConversation (
169
- ' 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 '
169
+ ' 0x3F11b27F323b62B159D2642964fa27C46C841897 '
170
170
)
171
171
```
172
172
@@ -176,7 +176,7 @@ To be able to send a message, the recipient must have already started their Clie
176
176
177
177
``` ts
178
178
const conversation = await xmtp .conversations .newConversation (
179
- ' 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 '
179
+ ' 0x3F11b27F323b62B159D2642964fa27C46C841897 '
180
180
)
181
181
await conversation .send (' Hello world' )
182
182
```
@@ -207,7 +207,7 @@ The Stream returned by the `stream` methods is an asynchronous iterator and as s
207
207
208
208
``` ts
209
209
const conversation = await xmtp .conversations .newConversation (
210
- ' 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 '
210
+ ' 0x3F11b27F323b62B159D2642964fa27C46C841897 '
211
211
)
212
212
for await (const message of await conversation .streamMessages ()) {
213
213
if (message .senderAddress === xmtp .address ) {
0 commit comments