A Python library to create and submit EVM transactions to custodians connected with MetaMask Institutional.
Project description
MMI Custodian SDK
A Python library to create and submit EVM transactions to custodians connected with MetaMask Institutional.
User documentation and examples
For documentation on how to use the library, please visit the page MetaMask Institutional SDK, or docs/sdk-python.md
.
You can also explore various usage examples in the directory ./examples
.
Developer documentation
🚨 The commands we list below use python
and pip
. Depending on your local setup, you might need to replace them by python3
and pip3
.
Requirements
- Python 3.7 or above
Installing dependencies
To install mmisdk
, along with the tools you need to develop and run tests, run the following:
pip install -e .[dev]
Unit tests
./run_tests.sh
Testing against various Python versions, listed in ./tox.ini
:
tox
Building the package
python3 setup.py bdist_wheel sdist
Creating / Updating the manifest
check-manifest --create
Publishing to PyPI
twine upload dist/*
Sorting imports
When checking with tox -e check
, you might receive warnings from isort
that imports are not properly ordered. To automatically sort your imports with isort
, run the following:
pip install isort
isort .
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
File details
Details for the file mmisdk-0.0.5.tar.gz
.
File metadata
- Download URL: mmisdk-0.0.5.tar.gz
- Upload date:
- Size: 140.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ed6a771cd830d1edf78fa021374c278fe270130d550eafc94f21dab8e59668 |
|
MD5 | 153f353ed7109c3e5ae2abd8eca92046 |
|
BLAKE2b-256 | c81000e2af2622329a9a60ba1a80a692dc7b3f6864821ed58c81d021b371a7c1 |
File details
Details for the file mmisdk-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: mmisdk-0.0.5-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a5bf8254c9f6560d772dee1be3d66b34ef2e20121fc223396cd06b178295d9 |
|
MD5 | 6a92836ecada41a3db5938077d57a96c |
|
BLAKE2b-256 | 75cf1541bc8dde0991cfecbcbe1892ec62b9fd84f822e7d4cbab6cab2a48187f |