STEEM BLOCKCHAIN PRICEFEED

in #steemlast month

I created a basic price feed bot for the steem blockchain

https://gitlab.com/krishiv-g/SteemPriceFeed/-/tree/main?ref_type=heads

STEEM/USD Price Feed Publisher

This project automates the process of fetching the STEEM/USD price from Binance and submitting it to the STEEM blockchain. Designed for simplicity and ease of use, it can be deployed using either Node.js with pm2 or within a Docker container.

Node.js CI Docker License: MIT

🌟 Features

  • Fetches the latest STEEM/USD price from Binance.
  • Submits the price to the STEEM blockchain automatically.
  • Easy configuration and deployment.
  • Support for both Node.js and Docker environments.

🚀 Getting Started

Follow these instructions to get the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js and npm (for running with pm2)
  • Docker (for running in a Docker container)

Configuration

Edit the config.json file to set up your environment:

{
  "apiNode": "https://api.steemit.com",
  "username": "yourSteemitUsername",
  "privateKey": "yourPrivateKey"
}

Installation

Using Node.js

Clone the repository and install dependencies:

git clone https://github.com/krishiv-g/SteemPriceFeed.git
cd SteemPriceFeed
npm install

Start the application with pm2:

pm2 start index.js

Using Docker

Build the Docker image:

docker build -t pricefeed .

Run the Docker container:

docker run -d pricefeed

📝 Usage

The application will automatically fetch the STEEM/USD price from Binance at predefined intervals and submit it to the blockchain.

💡 Contributing

Contributions are welcome! If you have a suggestion that would make this better, please fork the repo and create a pull request.

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

Feel Free to use this bot to publish price feed to steem blockchain

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62996.10
ETH 3122.17
USDT 1.00
SBD 3.88