# mach-client-py
This library contains 2 things:
- A client for the [Mach exchange](https://www.mach.exchange/) and [asset server](https://tokens.machprotocol.com/docs)
- A strongly typed set of abstractions used for working with clients, transactions, tokens, accounts and scanners on smart contract chains
## Getting Started
Create a copy of the `template.config.yaml` file:
```bash
cp template.config.yaml config.yaml
```
Edit the config to add the credentials for the account you wish to run the example with:
```yaml
accounts:
ethereum: "YOUR PRIVATE KEY"
solana: "..."
tron: "..."
# ...
```
Then look at the notebook in the `examples/` directory.
Raw data
{
"_id": null,
"home_page": null,
"name": "mach_client",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.13.0",
"maintainer_email": null,
"keywords": "crypto, cryptocurrencies, cryptocurrency, defi, exchange, liquidity, mach, pool, swap, tristero",
"author": null,
"author_email": "Richard Dong <richard@tristero.xyz>",
"download_url": "https://files.pythonhosted.org/packages/7e/6f/75c01efa997e6d1665f2f50bf26fe048c1f8ba9760716cfbf9aa77d6ba9b/mach_client-0.1.84.tar.gz",
"platform": null,
"description": "# mach-client-py\n\nThis library contains 2 things:\n\n- A client for the [Mach exchange](https://www.mach.exchange/) and [asset server](https://tokens.machprotocol.com/docs)\n- A strongly typed set of abstractions used for working with clients, transactions, tokens, accounts and scanners on smart contract chains\n\n## Getting Started\n\nCreate a copy of the `template.config.yaml` file:\n\n```bash\ncp template.config.yaml config.yaml\n```\n\nEdit the config to add the credentials for the account you wish to run the example with:\n\n```yaml\naccounts:\n ethereum: \"YOUR PRIVATE KEY\"\n solana: \"...\"\n tron: \"...\"\n# ...\n```\n\nThen look at the notebook in the `examples/` directory.\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python client for the Mach exchange.",
"version": "0.1.84",
"project_urls": {
"Homepage": "https://github.com/tristeroresearch/mach-client-py",
"Issues": "https://github.com/tristeroresearch/mach-client-py/issues"
},
"split_keywords": [
"crypto",
" cryptocurrencies",
" cryptocurrency",
" defi",
" exchange",
" liquidity",
" mach",
" pool",
" swap",
" tristero"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "3a84a06c8339bfd790b6c2f4ac905f9ad1790e6d6e1798a89c733e55c9ef6285",
"md5": "6657d33379241f95d5aa0ada9be8dfc9",
"sha256": "621e187652101e6a6a8fcfb65c505988f8f75878d0b52eb0b2fa383d61fd3d2a"
},
"downloads": -1,
"filename": "mach_client-0.1.84-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6657d33379241f95d5aa0ada9be8dfc9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.13.0",
"size": 149504,
"upload_time": "2025-03-10T22:28:12",
"upload_time_iso_8601": "2025-03-10T22:28:12.971652Z",
"url": "https://files.pythonhosted.org/packages/3a/84/a06c8339bfd790b6c2f4ac905f9ad1790e6d6e1798a89c733e55c9ef6285/mach_client-0.1.84-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7e6f75c01efa997e6d1665f2f50bf26fe048c1f8ba9760716cfbf9aa77d6ba9b",
"md5": "fea149e481d6636abf615f4d170c5d0a",
"sha256": "755640a338bfbf161168209c9e23a05466e86b2a6217428fc11f09550a67064e"
},
"downloads": -1,
"filename": "mach_client-0.1.84.tar.gz",
"has_sig": false,
"md5_digest": "fea149e481d6636abf615f4d170c5d0a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.13.0",
"size": 71739,
"upload_time": "2025-03-10T22:28:14",
"upload_time_iso_8601": "2025-03-10T22:28:14.421524Z",
"url": "https://files.pythonhosted.org/packages/7e/6f/75c01efa997e6d1665f2f50bf26fe048c1f8ba9760716cfbf9aa77d6ba9b/mach_client-0.1.84.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-10 22:28:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tristeroresearch",
"github_project": "mach-client-py",
"github_not_found": true,
"lcname": "mach_client"
}