
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
A Python library for essential Web3 helper functions.
pip install web3toolkit-base
from web3toolkit import create_wallet, validate_address
wallet = create_wallet()
print(wallet)
print(validate_address(wallet['address']))
Some advanced features (e.g., Etherscan, BscScan, Covalent, OpenSea) require API keys. You can set them at the start of your project:
from web3toolkit import set_api_keys, is_contract_verified
set_api_keys(
etherscan="YOUR_ETHERSCAN_API_KEY",
bscscan="YOUR_BSCSCAN_API_KEY",
covalent="YOUR_COVALENT_API_KEY",
opensea="YOUR_OPENSEA_API_KEY"
)
# Use chain parameter for BSC:
result = is_contract_verified("0x1234...abcd", chain="bsc")
print(result)
Alternatively, you can set the following environment variables:
ETHERSCAN_API_KEY
BSCSCAN_API_KEY
COVALENT_API_KEY
OPENSEA_API_KEY
Feel free to open pull requests and issues.
FAQs
A Python library for essential and advanced Web3 helper functions.
We found that web3toolkit-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.