Polywrap Web3 Client Config Bundle
Project description
This package contains the system configuration bundle for Polywrap Client.
Bundled Wraps
wrap |
description |
|---|---|
http |
To make HTTP requests |
ipfs_http_client |
To add or retrieve items from IPFS |
ipfs_resolver |
To fetch wraps from IPFS |
ethereum_provider |
To perform ethereum RPC calls |
ethereum-wrapper |
A higher level API to perform ethereum operations (like etheres.js) |
ens_text_record_resolver |
To resolve URIs from ens text record |
ens_ipfs_contenthash_resolver |
To resolve URIs from ens content hash |
ens_resolver |
To resolve URIs from ens |
Quickstart
Imports
>>> from polywrap_client_config_builder import PolywrapClientConfigBuilder >>> from polywrap_web3_config_bundle import web3_bundle >>> from polywrap_client import PolywrapClient >>> from polywrap_core import Uri, UriPackage
Configure
>>> config = PolywrapClientConfigBuilder().add_bundle(web3_bundle).build() >>> client = PolywrapClient(config)
Resolve URI with bundled ens resolver
>>> response = client.try_resolve_uri(
... Uri.from_str("wrap://ens/wrap-link.eth")
... )
>>> assert isinstance(response, UriPackage)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polywrap_web3_config_bundle-0.1.2.tar.gz.
File metadata
- Download URL: polywrap_web3_config_bundle-0.1.2.tar.gz
- Upload date:
- Size: 198.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.13 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
528cbb987e6f9e01a8c3ce5b63eb8bbc4a4870e805e28ba886c1b006e6379b56
|
|
| MD5 |
4e74632663b2c47021796065aaae33a8
|
|
| BLAKE2b-256 |
81e1118838e33c29590a1e6a6c48037602ffbb2b00c8f6ea2c24600cdb26bfa8
|
File details
Details for the file polywrap_web3_config_bundle-0.1.2-py3-none-any.whl.
File metadata
- Download URL: polywrap_web3_config_bundle-0.1.2-py3-none-any.whl
- Upload date:
- Size: 202.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.13 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e197f245c8e0aab4b28e3457f47ac5566ea0ec47d492b7edf7e9ed308d8c529a
|
|
| MD5 |
86dc7fa2ef3fa8a8361fa363803bbc69
|
|
| BLAKE2b-256 |
c61fd8cace1e3d38718eacd992e77f156372bcd9e691a21c55155ff36ec8fffc
|