Skip to content

Commit 74a0cd1

Browse files
authored
Merge pull request #257 from polywrap/post-cd/0.1.0b8
Python client POST CD (0.1.0b8)
2 parents 3203ad0 + 83e906b commit 74a0cd1

File tree

32 files changed

+290
-314
lines changed

32 files changed

+290
-314
lines changed

packages/config-bundles/polywrap-sys-config-bundle/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Invoke bundled http plugin
3838
~~~~~~~~~~~~~~~~~~~~~~~~~~
3939

4040
>>> response = client.invoke(
41-
... uri=Uri.from_str("ens/wraps.eth:http@1.1.0"),
41+
... uri=Uri.from_str("wrapscan.io/polywrap/http@1.0"),
4242
... method="get",
4343
... args={"url": "https://www.google.com"},
4444
... )

packages/config-bundles/polywrap-sys-config-bundle/poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/config-bundles/polywrap-sys-config-bundle/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "polywrap-sys-config-bundle"
7-
version = "0.1.0b7"
7+
version = "0.1.0b8"
88
description = "Polywrap System Client Config Bundle"
99
authors = ["Niraj <niraj@polywrap.io>"]
1010
readme = "README.rst"

packages/config-bundles/polywrap-web3-config-bundle/poetry.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/config-bundles/polywrap-web3-config-bundle/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "polywrap-web3-config-bundle"
7-
version = "0.1.0b7"
7+
version = "0.1.0b8"
88
description = "Polywrap Web3 Client Config Bundle"
99
authors = ["Niraj <niraj@polywrap.io>"]
1010
readme = "README.rst"

packages/plugins/polywrap-ethereum-wallet/README.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Polywrap Ethereum Provider
2-
==========================
1+
Polywrap Ethereum Wallet
2+
========================
33
This package provides a Polywrap plugin for interacting with EVM networks.
44

5-
The Ethereum Provider plugin implements the `ethereum-provider-interface` @ `ens/wraps.eth:ethereum-provider@2.0.0 <https://app.ens.domains/name/wraps.eth/details>`__ (see `../../interface/polywrap.graphql` ). It handles Ethereum wallet transaction signatures and sends JSON RPC requests for the Ethereum wrapper.
5+
The Ethereum wallet plugin implements the `ethereum-provider-interface` @ `wrapscan.io/polywrap/ethereum-wallet@1.0` (see `../../interface/polywrap.graphql` ). It handles Ethereum wallet transaction signatures and sends JSON RPC requests for the Ethereum wrapper.
66

77
Quickstart
88
----------
@@ -12,19 +12,19 @@ Imports
1212

1313
>>> from polywrap_core import Uri
1414
>>> from polywrap_client import PolywrapClient
15-
>>> from polywrap_ethereum_provider import ethereum_provider_plugin
16-
>>> from polywrap_ethereum_provider.connection import Connection
17-
>>> from polywrap_ethereum_provider.connections import Connections
18-
>>> from polywrap_ethereum_provider.networks import KnownNetwork
15+
>>> from polywrap_ethereum_wallet import ethereum_wallet_plugin
16+
>>> from polywrap_ethereum_wallet.connection import Connection
17+
>>> from polywrap_ethereum_wallet.connections import Connections
18+
>>> from polywrap_ethereum_wallet.networks import KnownNetwork
1919
>>> from polywrap_client_config_builder import (
2020
... PolywrapClientConfigBuilder
2121
... )
2222

2323
Configure Client
2424
~~~~~~~~~~~~~~~~
2525

26-
>>> ethreum_provider_interface_uri = Uri.from_str("ens/wraps.eth:ethereum-provider@2.0.0")
27-
>>> ethereum_provider_plugin_uri = Uri.from_str("plugin/ethereum-provider")
26+
>>> ethreum_provider_interface_uri = Uri.from_str("wrapscan.io/polywrap/ethereum-wallet@1.0")
27+
>>> ethereum_wallet_plugin_uri = Uri.from_str("plugin/ethereum-provider")
2828
>>> connections = Connections(
2929
... connections={
3030
... "sepolia": Connection.from_network(KnownNetwork.sepolia, None)
@@ -34,14 +34,14 @@ Configure Client
3434
>>> client_config = (
3535
... PolywrapClientConfigBuilder()
3636
... .set_package(
37-
... ethereum_provider_plugin_uri,
38-
... ethereum_provider_plugin(connections=connections)
37+
... ethereum_wallet_plugin_uri,
38+
... ethereum_wallet_plugin(connections=connections)
3939
... )
4040
... .add_interface_implementations(
4141
... ethreum_provider_interface_uri,
42-
... [ethereum_provider_plugin_uri]
42+
... [ethereum_wallet_plugin_uri]
4343
... )
44-
... .set_redirect(ethreum_provider_interface_uri, ethereum_provider_plugin_uri)
44+
... .set_redirect(ethreum_provider_interface_uri, ethereum_wallet_plugin_uri)
4545
... .build()
4646
... )
4747
>>> client = PolywrapClient(client_config)

0 commit comments

Comments
 (0)