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.0b7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69ea36d360ea3326cfece68901956408aa22206804927ca1af910924d8251dc2 |
|
MD5 | f1014d42778259c125765f9e0af9c2fc |
|
BLAKE2b-256 | 20f3046bd37385d8eb1fb5b71887455af5421fff28bf147d91426d27f9d65737 |
Close
Hashes for polywrap_web3_config_bundle-0.1.0b7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef0615a458147d4256af53c410850cfc98e9a03cf7297e7cd936b04fc3448803 |
|
MD5 | 74b1a51fc793356ded6fd8d8fb084ad1 |
|
BLAKE2b-256 | 22fa640c7036071a2c8033384940fe8964efb0acee90168d6ac5d020bf5ba964 |