Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions xchainpy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
myTests.py
21 changes: 21 additions & 0 deletions xchainpy/xchainpy_fantom/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Merlin Lindsay

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
24 changes: 24 additions & 0 deletions xchainpy/xchainpy_fantom/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# `xchainpy/xchainpy_fantom`

Fantom Module for XChainPy Clients

## Environment
tested with Python Virtual Environment 3.8 3.9

## Installation
```angular2html
python3 setup.py install
```

## Service Providers
- https://rpc.ftm.tools/ was used to interact with fantom blockchain
- Note this is HTTPProvider, not WebsocketProvider (see client.py)
- - If interaction with ``non-ERC20 token`` is needed, head to https://ftmscan.com/ to get your etherscan token.

## Initialization of Client

ToDo

## Tests

ToDo
6 changes: 6 additions & 0 deletions xchainpy/xchainpy_fantom/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
5 changes: 5 additions & 0 deletions xchainpy/xchainpy_fantom/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
web3>=5.16.0
websockets>=8.1
xchainpy_client>=0.1.3
xchainpy_crypto>=0.1.3
requests>=2.25.1
2 changes: 2 additions & 0 deletions xchainpy/xchainpy_fantom/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
Empty file.
5 changes: 5 additions & 0 deletions xchainpy/xchainpy_fantom/xchainpy_fantom/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Fantom Module for XChainPY Clients
.. moduleauthor:: Merlin-721
"""

__version__ = '0.2.3'
Loading