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.0b5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb4208e09da4fb6a0f569c6f074fa79377c03cc75e352f572851c7d53a121ee8 |
|
MD5 | ee2794d7367146d0687cd6f0cb130888 |
|
BLAKE2b-256 | 976e023455d6f3c6a88513a0430597206e081e5a601277006116075edd1af5fe |
Close
Hashes for polywrap_web3_config_bundle-0.1.0b5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11368be24aa4070fa483b1547b045e022b26e4476d29140acfa7fb4b588e424e |
|
MD5 | 1ab72400ba0e88189d2ca94e54b7c1c6 |
|
BLAKE2b-256 | 06094854261ca88dc805bc5c63d43c8fb2c3ebe977c4b96295df743797cb7ce3 |