lukePastebin

Untitled

Oct 29th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var defaultHelp = `Welcome to the Exchange bot! Here you can exchange BTC (Bitcoin) for Ħ (Hydra) via the Libertaria Exchange! Use decimals to get smaller amounts.
  2. COMMANDS:
  3. -- $balance COIN | Returns your balance of X coin, if it exists. Prints the list of valid coins if it doesn't.
  4. -- $deposit COIN | Gets you your deposit address for X coin, if it exists. Prints the list of valid coins if it doesn't.
  5. -- $withdraw COIN AMOUNT ADDRESS 2FA | Withdraws Y amount of X coin to Z address. Requires a valid 2FA code.
  6. -- $ask COIN-PAIR PRICE AMOUNT 2FA | Puts a sell order in for Z tokens at Y token price with the token being the first token in X coin pair. Requires a valid 2FA code.
  7. -- $bid COIN-PAIR PRICE AMOUNT 2FA | Puts a buy order in for Z quantity tokens at Y token price with the token being the first token in X coin pair. Requires a valid 2FA code.
  8. -- $cancel COIN-PAIR ORDERID 2FA | Cancels an active order of X coin-pair by its ID (Y). Requires a valid 2FA code.
  9. -- $list COIN-PAIR | Lists deals of X coin-pair in a PM.
  10. -- $price COIN-PAIR | Prints the last price, the highest bid order, and the lowest ask order for the specified coin-pair X.
  11. Run "$help COMMAND" for more info on a command.
  12. This bot supports decimal amounts. It does not use whole numbers of smaller units like it used to. Be careful.
  13. By running $init you agree to release the coder, owner, maintainer, and all administrative people of this bot, and connected exchange, from liability.`;
  14.  
  15. var helpStrings = {
  16.     "balance": "Returns your balance of a specified coin. To get your BTC balance, run \"$balance btc\"",
  17.     "deposit": "Returns your deposit address of the specified coin. Run \"$deposit COIN\" to display your dedicated address to send a specified coin to, now and later.",
  18.     "withdraw": "Allow you to withdraw your balance, partially or entirely, of a certain coin. You must pass the command the coin symbol, amount you're withdrawing, the address you're withdrawing to, and a valid 2FA code.\r\n" +
  19.                 "\"$withdraw hyd 0x00ba72ec3944495c21f16f9e29320850f67353fd .01 123456\" would send .01 Hydra, from your balance, to 0x00ba72ec3944495c21f16f9e29320850f67353fd, if the 2FA code of 123456 is valid.\r\n",
  20.     "ask": "Puts in an sell order of a certain coin-pair X where Z quantity of the first token in the pair are being sold at Y price. \"$ask hyd-btc 0.00000100 10 123456\" sells 10 Hydras for 100 Satoshi each, if the 2FA code of 123456 is valid. This amount (10 Hydras) will be removed from your balance while it is an active order. You will be credited with BTC as the order is filled.",
  21.     "bid": "Puts in an buy order of a certain coin-pair X where Z quantity of the first token in the pair are being bought at Y price. \"$bid hyd-btc 0.00000100 10 123456\" buys 10 Hydras for 100 Satoshi each, if the 2FA code of 123456 is valid. This amount (1000 Satoshi) will be removed from your balance while it is an active order. You will be credited with HYD as the order is filled.",
  22.     "cancel": "Cancels an order. Use \"$cancel hyd-btc 0 123456\" to cancel order 0 of HYD-BTC, if the 2FA code of 123456 is valid. This will refund you with the coins the order was hosting. You can only cancel your own orders.",
  23.     "list": "Lists all of your orders of a certain coin-pair, the 10 highest bid orders, and the 10 lowest ask orders. \"$list hyd-btc\"",
  24.     "price": "Prints out the last trade price for a coin-pair conversion and also the highest priced order to buy a coin, along with the lowest priced order to sell a coin. \"%price hyd-btc\"",
  25.     "init": "Signals your agreeance to the Terms of Service this bot and exchange employs and allows you to use this bot. \"$init\"",
  26.     "help": "The help command details how the bot works and provides examples of commands. For instance, \"$help help\", the command you just entered. Seriously. Why are you running $help on $help?"
  27. }
Advertisement
Add Comment
Please, Sign In to add comment