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](https://consensys.gitlab.io/codefi/products/mmi/mmi-sdk-py/sdk-python/), or [docs/sdk-python.md](docs/sdk-python.md).
You can also explore various usage examples in the directory [./examples](./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:
`bash pip install -e .[dev] `
### Unit tests
`bash ./run_tests.sh `
Testing against various Python versions, listed in ./tox.ini:
tox
### Building the package
`bash python3 setup.py bdist_wheel sdist `
### Creating / Updating the manifest
`bash check-manifest --create `
### Publishing to PyPI
`bash 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:
`bash pip install isort isort . `
Changelog
0.0.1 (2022-09-09)
First release on PyPI.
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.4.tar.gz
.
File metadata
- Download URL: mmisdk-0.0.4.tar.gz
- Upload date:
- Size: 141.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce543967a0d4f5ac1d61dcdef636a998440fadebe1fcbd74eb9af9bf14e07cb |
|
MD5 | ae9c57e4441e347dce31a7caf2317058 |
|
BLAKE2b-256 | e0da9757f6088a44a6f519a97f4ead7b10a672e1d21d97d57c2d2e1131c3b2d2 |
File details
Details for the file mmisdk-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: mmisdk-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.1 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 | 57c9278b4316dd01a924fb3a5c35658996282408e1f4ec7fa5ddedd6e11236da |
|
MD5 | ad25eccd292ef3c5397ce85b28c6a332 |
|
BLAKE2b-256 | 52d8886207a7888fb8a78ddc864ee78a3adfab152ee6337268f859cd81b05210 |