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
> TODO: Update table above according to test harness and maybe mention other wip clients (go, rust)
27
27
28
-
29
-
30
28
# Getting Started:
31
29
32
30
Have questions or want to get involved? Join our community [Discord](https://discord.polywrap.io) or [open an issue](https://github.com/polywrap/toolchain/issues) on Github.
@@ -197,23 +195,34 @@ Check these resources to browse a variety available wrappers, for DeFi, decentra
197
195
Calling a function of a wrapper from the python client is as simple as creating a file in the `TODO (?polywrap-client)` directory, importing the Polywrap Python Client, calling the Uri where the WASM wrapper is hosted, and specifying any required arguments.
198
196
199
197
```python
200
-
#get_eth_txns.py
198
+
#hello_world.py
201
199
from polywrap_client import PolywrapClient
202
200
from polywrap_core import Uri, InvokerOptions
203
201
204
-
asyncdefget_eth_transactions(accountAddress):
202
+
asyncdefupdate_contract_message(message: str):
203
+
204
+
# Instantiate the client
205
205
client = PolywrapClient()
206
-
#uri = Uri("wrap://ens/defiwrapper.polywrap.eth")
207
-
uri = Uri(f'fs/{Path(__file__).parent.joinpath("cases", "wrap.wasm").absolute()}')
@@ -227,8 +236,6 @@ Here's a good guide to learn about [building tests with Pytest](https://realpyth
227
236
228
237
The Polywrap project is completely open-source and we welcome contributors of all levels. Learn more about how you can contribute [here](https://github.com/polywrap/toolchain#contributing).
229
238
230
-
231
-
232
239
# Contact Us:
233
240
234
241
[Join our discord](https://discord.polywrap.io) and ask your questions right away!
@@ -239,4 +246,4 @@ The Polywrap project is completely open-source and we welcome contributors of al
0 commit comments