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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac15734fe7e1f9ff1f6d5d50b46c0c05135b5b4aa3ac6945f3d72ad14e8d8a0 |
|
MD5 | d819220f9c741ffab2328f878835aa0f |
|
BLAKE2b-256 | fb6309e1228653b45207669cd4b9f83ccaf8b62a643066ecafa615c26081c681 |
Close
Hashes for polywrap_web3_config_bundle-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f75c472b56d5c62ac730e6a41dc6ee2f0be9c546bca4263b6905dbc2c83a2e |
|
MD5 | 95b02cc873d0d4a9d0468e1533b4b474 |
|
BLAKE2b-256 | 2ef9790cea88a9e1fdc6ca6e920d6afca68676fc20001b19e3d10ee07616df48 |