Skip to main content

Web3 Token implementation for python

Project description

Web3 Token implementation for python

Using this package you can verify web3 token, get signer, signed message and statement

Getting it

To download web3-token, either fork this github repo or simply use PyPI via pip.

$ pip install web3-token

Usage

1 - Import

from web3_token import Web3Token

2 - Usage:

wt = Web3Token(token)

signer = wt.get_signer(validate=True)

token_data = wt.get_data()

statement = wt.statement

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

web3-token-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file web3-token-1.0.0.tar.gz.

File metadata

  • Download URL: web3-token-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1

File hashes

Hashes for web3-token-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2cc14ec40af870bb266026373c05417a8327dc00ab7f4424fc4a9b4350c24fb9
MD5 fb0e27d73574bb31fda8c83d938b4139
BLAKE2b-256 ae5d87a6dca78abbe348c80fbda63af1a36ee63e3f7ceee3fd2232aed566110f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page