Coder Social home page Coder Social logo

sweet-bot's Introduction

sweet-bot

Sweet-Bot is an open source discord bot which enables steem users to communicate with the steem-engine sidechain via simple discord commands directly from discord.

Commands

To Query the steem-engine sidechain you can use the following commands :

  • !price [symbol] - Displays last price of the specified Token in STEEMP.
  • !volume [symbol] - Displays 24 hour volume on the Steem-Engine Dex for a token.
  • !tbal [steem user] [symbol] - Displays user's specific SE token balance.
  • !tbals [steem user] - Displays user's all SE token balances.
  • !buybook [symbol] - Displays all Buy Orders on the Steem-Engine Dex for a token .
  • !sellbook [symbol] - Displays top 3 Sell orders on the Steem-Engine Dex for a token.

To Broadcast Transactions related to Steem-Engine Tokens and Dex, you can use the follwing commands

  • !transfer [your steem username] [reciever steem username] [amount] [symbol] [memo] - Sends you a DM with a steemconnect hot sign URL to sign the transfer transaction from a browser via steemconnect.
  • !safetip [your steem username] [reciever steem username] [amount] [symbol] - Sends you a DM with a steemconnect hot sign URL to sign the tip safely transaction from a browser via steemconnect.
  • !buy [your steem username] [amount] [symbol] [price] - Sends you a DM with a steemconnect hot sign URL to sign the buy order transaction from a browser via steemconnect.
  • !sell [your steem username] [amount] [symbol] [price] - Sends you a DM with a steemconnect hot sign URL to sign the sell order transaction from a browser via steemconnect.

NOTE : Sweet-Bot is beta software and may contain bugs. please with caution. Always check the steemconnect hot sign urls before signing them. If you find an issue please feel free to report it on our Github.

How to run your own Instance

  1. Clone the Repo and open in terminal
git clone https://github.com/nirvanaitsolutions/sweet-bot.git
cd sweet-bot
  1. Install Dependencies
npm i
  1. Configure the bot by editing config.json file
{
    "token": "insert your bot token here",
    "prefix": "!" //recommended to keep this different from other bots in the server to avoid confusion
}
  1. Run in dev mode
npm run dev
  1. Run on server with forever
(sudo) npm i forever -g 
forever start bot.js

What's Next on SweetBot

  • Tipping other Discord members
  • Deposits and Withdrwals for tokens
  • Subscription to real time notifications for Steem-Engine transactions on discord.
  • Instant and Secure STEEMP-Token and Token-Token Swaps via Smart Contract.

How to Invite the bot to your own server and get your token listed

You can invite the SweetBot to your own server with this Invite Link.

Please get in touch with with @swapsteem on our discord server for bot and token listing related queries.

Contact Us

1024x262_swapsteem_rollin_fadeintop_fadeouttop_rollout.gif

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.