Polywrap System 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.0b6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b693d20db0718e0c09086346a9a1af85be36d2c0a93f009b122aa98b01c48c |
|
MD5 | b987179f5ab3af021042879efe8e7f40 |
|
BLAKE2b-256 | 61a59d9c2b457b9829bcb22394346e35e0756e1d1b8e0a919022b031f234031c |
Close
Hashes for polywrap_web3_config_bundle-0.1.0b6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff53b7adecb26f78f0416b506563a1cc2f1c2c38fc65ef84da4d1cdbcaf97c64 |
|
MD5 | 327391cfe475c38ec7837e422d9d3659 |
|
BLAKE2b-256 | b7b7004e83a92c91cac875c4e1d7b594d3ff58df94d2250fd57fd1930e9a129e |