Sitelet https://github.com/open-rpc/client-js/commit/588c8ba
Skip to content

Commit 588c8ba

Browse files
committed
fix: change Client example url
1 parent 992c73d commit 588c8ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface IClient {
1313
*
1414
* ```javascript
1515
* import { RequestManager, HTTPTransport, Client } from '@open-rpc/client-js';
16-
* const transport = new HTTPTransport('http://localhost:8545');
16+
* const transport = new HTTPTransport('http://localhost:3333');
1717
* const client = new Client(new RequestManager([transport]));
1818
* const result = await client.request(‘addition’, [2, 2]);
1919
* // => { jsonrpc: '2.0', id: 1, result: 4 }

0 commit comments

Comments
 (0)