Skip to main content

Web3 Token implementation for python. And it supports web3 v6.0.0+

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-new

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-new-1.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file web3-token-new-1.1.0.tar.gz.

File metadata

  • Download URL: web3-token-new-1.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for web3-token-new-1.1.0.tar.gz
Algorithm Hash digest
SHA256 32d08c8a472e166fa38f60c1a2b68f860680a6586cc40d31ec9425085b398941
MD5 7621b4d85050323390d86905838788f7
BLAKE2b-256 4dd10943b1ca75838ea01a118d82665f66c0bdcfd604d939854ea733665477c3

See more details on using hashes here.

Supported by

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