bcts-telliotfeeds


Namebcts-telliotfeeds JSON
Version 1.0.2 PyPI version JSON
download
home_page
SummaryTools for interacting with Tellor Protocol smart contracts.
upload_time2023-11-17 13:46:01
maintainer
docs_urlNone
authorBlockchain Trust Solutions AG
requires_python>=3.9
licenseMIT
keywords oracle ethereum blockchain
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Background

Reporting tools and datafeeds for Tellor oracles.

The package `telliot-feeds` version `0.1.14` forked from:<br />
https://github.com/tellor-io/telliot-feeds

## Initial Setup

### Prerequisites
The following tools are expected to be installed on your system to run this project:

- Python 3.9.x
- Pip 23.3.x
- Git

### Setup

```bash
python3.9 -m venv tenv
source tenv/bin/activate
pip3.9 install .
```

### Test

Install development requirements:
```bash
pip3.9 install -r requirements-dev.txt
```

Run automated testing in all environments:
```bash
tox
```

Run `py39` testing:
```bash
tox -e py39
```

Run `style` testing:
```bash
tox -e style
```

Run `typing` typing:
```bash
tox -e typing
```

### Publish

1. Create the `$HOME/.pypirc` file:
```
[pypi]
  username = __token__
  password = pypi-AgEIcHlw... (your PyPI token)
```

2. Build distribution:
```bash
python3.9 -m build
```

3. Deploy distribution to PyPI repository:
```bash
twine upload dist/*
```

## Usage

### Using Docker

1. Create & start container in the background:
```bash
docker compose up -d
```

2. Execute commands in a running Docker container:
```bash
docker exec -it telliot sh
```

### Configuration

1. Create the default configuration files:
```bash
telliot config init
```

The default configuration files are created in a folder called `telliot` in the user's home folder.

2. View your current configuration:
```bash
telliot config show
```
### Using Telliot

1. Add Reporting account:
```bash
telliot account add fantomacct1 5d18c4aabe8f0ee841e2e0ee504c7d9ec98d2aa9edb2e44d5e8825ec0670f896 4002
```

2. Check Reporting account:
```bash
telliot account find
```

3. Using StakingToken smart contract address provided below, mint 1000 TTRB tokens to the `fantomacct1` account:<br />
`0x8e4E5eDab27Df5a93B25AC3a62b80beec1CfEBd0`


4. Report data with the `fantomacct1` account to the Tellor Oracle:
```bash
telliot report -a fantomacct1 -ncr -qt trb-usd-spot
```

## Contributing

Bug reports and pull requests are welcome on GitHub at:<br />
https://github.com/SELISEdigitalplatforms/l3-solidity-bcts-tellor

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "bcts-telliotfeeds",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "oracle,ethereum,blockchain",
    "author": "Blockchain Trust Solutions AG",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/8e/42/2152b6442b36f39f20854b7d4112cc4d4cb14ab0eed9ad97fd02c2197434/bcts_telliotfeeds-1.0.2.tar.gz",
    "platform": null,
    "description": "## Background\n\nReporting tools and datafeeds for Tellor oracles.\n\nThe package `telliot-feeds` version `0.1.14` forked from:<br />\nhttps://github.com/tellor-io/telliot-feeds\n\n## Initial Setup\n\n### Prerequisites\nThe following tools are expected to be installed on your system to run this project:\n\n- Python 3.9.x\n- Pip 23.3.x\n- Git\n\n### Setup\n\n```bash\npython3.9 -m venv tenv\nsource tenv/bin/activate\npip3.9 install .\n```\n\n### Test\n\nInstall development requirements:\n```bash\npip3.9 install -r requirements-dev.txt\n```\n\nRun automated testing in all environments:\n```bash\ntox\n```\n\nRun `py39` testing:\n```bash\ntox -e py39\n```\n\nRun `style` testing:\n```bash\ntox -e style\n```\n\nRun `typing` typing:\n```bash\ntox -e typing\n```\n\n### Publish\n\n1. Create the `$HOME/.pypirc` file:\n```\n[pypi]\n  username = __token__\n  password = pypi-AgEIcHlw... (your PyPI token)\n```\n\n2. Build distribution:\n```bash\npython3.9 -m build\n```\n\n3. Deploy distribution to PyPI repository:\n```bash\ntwine upload dist/*\n```\n\n## Usage\n\n### Using Docker\n\n1. Create & start container in the background:\n```bash\ndocker compose up -d\n```\n\n2. Execute commands in a running Docker container:\n```bash\ndocker exec -it telliot sh\n```\n\n### Configuration\n\n1. Create the default configuration files:\n```bash\ntelliot config init\n```\n\nThe default configuration files are created in a folder called `telliot` in the user's home folder.\n\n2. View your current configuration:\n```bash\ntelliot config show\n```\n### Using Telliot\n\n1. Add Reporting account:\n```bash\ntelliot account add fantomacct1 5d18c4aabe8f0ee841e2e0ee504c7d9ec98d2aa9edb2e44d5e8825ec0670f896 4002\n```\n\n2. Check Reporting account:\n```bash\ntelliot account find\n```\n\n3. Using StakingToken smart contract address provided below, mint 1000 TTRB tokens to the `fantomacct1` account:<br />\n`0x8e4E5eDab27Df5a93B25AC3a62b80beec1CfEBd0`\n\n\n4. Report data with the `fantomacct1` account to the Tellor Oracle:\n```bash\ntelliot report -a fantomacct1 -ncr -qt trb-usd-spot\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at:<br />\nhttps://github.com/SELISEdigitalplatforms/l3-solidity-bcts-tellor\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tools for interacting with Tellor Protocol smart contracts.",
    "version": "1.0.2",
    "project_urls": null,
    "split_keywords": [
        "oracle",
        "ethereum",
        "blockchain"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "504aaa3418f66e3bd7efb42cc19d6afb56179625c3eb6acd9bc149058530b8cd",
                "md5": "81f40bd1e7c5004dbb39dcbc0f084616",
                "sha256": "01e583fc45b764f99181ae6b9419e3f3dadea0b30aaaefb34de55184c86d575f"
            },
            "downloads": -1,
            "filename": "bcts_telliotfeeds-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "81f40bd1e7c5004dbb39dcbc0f084616",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 227306,
            "upload_time": "2023-11-17T13:45:57",
            "upload_time_iso_8601": "2023-11-17T13:45:57.880882Z",
            "url": "https://files.pythonhosted.org/packages/50/4a/aa3418f66e3bd7efb42cc19d6afb56179625c3eb6acd9bc149058530b8cd/bcts_telliotfeeds-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e422152b6442b36f39f20854b7d4112cc4d4cb14ab0eed9ad97fd02c2197434",
                "md5": "e63967d83cff6ffb3bdf8c287fda654b",
                "sha256": "d6913c994fecca70cc8dfa34d8581ec6deb2f94bc9b527730894c52a9db00eef"
            },
            "downloads": -1,
            "filename": "bcts_telliotfeeds-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e63967d83cff6ffb3bdf8c287fda654b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 226452,
            "upload_time": "2023-11-17T13:46:01",
            "upload_time_iso_8601": "2023-11-17T13:46:01.692062Z",
            "url": "https://files.pythonhosted.org/packages/8e/42/2152b6442b36f39f20854b7d4112cc4d4cb14ab0eed9ad97fd02c2197434/bcts_telliotfeeds-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-17 13:46:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "bcts-telliotfeeds"
}
        
Elapsed time: 0.17536s