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
Close
Hashes for polywrap_web3_config_bundle-0.1.0b8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65c21dd8e29dba2e49a2b2887e7ec31dd1d931cd701f4b8c62088643b5118a9 |
|
MD5 | 30a74016a8494ef34e0168ee09c0b429 |
|
BLAKE2b-256 | b67cb354b1878850ff216913d33ca05a562fe9e755abd06f6c383d32fdcc574d |
Close
Hashes for polywrap_web3_config_bundle-0.1.0b8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4760d112c8a93492b8bb25981320a28382da5da65bdaaa3193b1a55e2c3db72 |
|
MD5 | 6e79ac43871669206c184fe1cc1621d4 |
|
BLAKE2b-256 | cfdfe3aa3cba722d387d0660454d8e03fd935c1d652fbefad1dfddaa82e1a1a9 |