A wrapper for aqquiring Choice Coin directly through a Python Terminal. Leverages the TinyMan Python-SDK.

Overview

CHOICE_TinyMan_Wrapper

A wrapper that allows users to acquire Choice Coin directly through their Terminal using ALGO and various Algorand Standard Assets (ASAs). This wrapper leverages the TinyMan Python SDK.

First, make sure that you have Python installed and a virtual environment configured. Download Python here: https://www.python.org/downloads/, and read about creating a new virtual environment here: https://docs.python.org/3/library/venv.html.

  1. To use, download the contents of the Choice_SDK.py file and the contents of the requirements.txt file.
  2. Next, with your virtual environment active, run the following command: pip install requirements.txt.
  3. Insert your address and mnemonic in the appropriate places in the Choice_SDK.py file.
  4. Run the script using python Choice_SDK.py command on your terminal with the virtual environment active.
You might also like...
Telegram bot that let's you flip a coin in a dialog
Telegram bot that let's you flip a coin in a dialog

coin_flip Telegram bot that let's you flip a coin in a dialog Report issue · Request feature About Software development tool that lets you finally dec

Coin-based opinion monitoring system
Coin-based opinion monitoring system

介绍 本仓库提供了基于币安 (Binance) 的二级市场舆情系统,可以根据自己的需求修改代码,设定各类告警提示 代码结构 binance.py - 与币安API交互 data_loader.py - 数据相关的读写 monitor.py - 监控的核心方法实现 analyze.py - 基于历史数

Discord bots that update their status to the price of any coin listed on x.vite.net

Discord bots that update their status to the price of any coin listed on x.vite.net

Automate coin farming for dankmemer. Unlimited accounts at once. Uses a proxy

dankmemer-farm Simple script to farm Dankmemer coins with multiple accounts at once. Requires: Proxies, Discord Tokens Disclaimer I don't take respons

Display relevant information for the amazing Banano coin.
Display relevant information for the amazing Banano coin.

Display relevant information for the amazing Banano coin. It'll also show your current Folding@Home stats (because you're likely folding for Bananos!)

A simple terminal UI for viewing fund P/L analysis through TEFAS

Tefas UI A simple terminal UI for viewing fund P/L analysis through TEFAS. Features (that my own bank's UI lack): Daily and weekly P/L FX comparisons

`python-jamf` is a library for connecting to a Jamf Server that maps directly to the Jamf Pro Classic API.
`python-jamf` is a library for connecting to a Jamf Server that maps directly to the Jamf Pro Classic API.

`python-jamf` is a library for connecting to a Jamf Server that maps directly to the Jamf Pro Classic API. It is the basis for the `jctl` tool to automate patch management & packages and many other items.

Nyon-stream - A python script that uses webtorrent to stream nyaa videos directly to mpv

nyon-stream A rather shitty script that uses webtorrent to stream nyaa videos di

💀 The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.
💀 The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.

💀 Deadcord The next upcoming Discord raid tool, the best for free. 🎉 Early Beta Released We have released an early version of Deadcord, please keep

Comments
  • TypeError: 'module' object is not subscriptable

    TypeError: 'module' object is not subscriptable

    Code

    Choice_Tiny_Wrapper

    Function

    if(not client.is_opted_in()):
        print('Account not opted into TinyMan app, opting in now..')
        transaction_group = client.prepare_app_optin_transactions()
        transaction_group.sign_with_private_key(address, account['user_mnemonic'])
        result = client.submit(transaction_group, wait=True)
    

    Error

      File "Wrap.py", line 18, in <module>
        transaction_group.sign_with_private_key(address, account['user_mnemonic'])
    TypeError: 'module' object is not subscriptable
    
    opened by Bhaney44 1
  • V2 price bot 🤖

    V2 price bot 🤖

    Commands

    • [x] !choice_price or !choice - this checks the current price of choice coin.

    • [x] !algo or !algo_price - this checks the current price of algo.

    • [x] !market_cap or !choice_market_cap - this checks the market cap of choice coin.

    • [x] !github - this replies with the github url.

    • [x] !about - this replies what choice coin is about and related links.

    opened by Samuellyworld 0
  • JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    Code

    def choice_for_algo():
        Choice = client.fetch_asset(297995609)
        ALGO = client.fetch_asset(0)
        pool = client.fetch_pool(Choice, ALGO)
        quote = pool.fetch_fixed_input_swap_quote(ALGO(1_000_000), slippage=0.01)
        print(quote)
        print(f'Choice per ALGO: {quote.price}')
        print(f'Choice per ALGO (worst case): {quote.price_with_slippage}')
        print("Do you still want to go through this transaction? Type Y for 'Yes' and N for 'No'")
        binary = input()
        if binary == "Y":
            new = int(input("How much ALGO do you want to spend? ")) * 1000000
            quote = pool.fetch_fixed_input_swap_quote(ALGO(new), slippage=0.01)
            print(f'Swapping {quote.amount_in} to {quote.amount_out_with_slippage}')
            transaction_group = pool.prepare_swap_transactions_from_quote(quote)
                # Sign the group with our key
            transaction_group.sign_with_private_key(address, private_key)
                # Submit transactions to the network and wait for confirmation
            result = client.submit(transaction_group, wait=True)
    
    

    Error

    How much ALGO do you want to spend? 1
    Swapping ALGO('1') to Choice('181.91')
    Traceback (most recent call last):
      File "Wrap.py", line 183, in <module>
        choice_for_algo()
      File "Wrap.py", line 39, in choice_for_algo
        result = client.submit(transaction_group, wait=True)
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tinyman/v1/client.py", line 34, in submit
        raise Exception(json.loads(e.args[0])['message']) from None
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads
        return _default_decoder.decode(s)
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode
        raise JSONDecodeError("Expecting value", s, err.value) from None
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
    
    opened by Bhaney44 1
Owner
Choice Coin
Official Github for Choice Coin, a utility token focusing on governance and democratic participation. Built on the Algorand Blockchain.
Choice Coin
Discord Bot that leverages the idea of nested containers using podman, runs untrusted user input, executes Quantum Circuits, allows users to refer to the Qiskit Documentation, and provides the ability to search questions on the Quantum Computing StackExchange.

Discord Bot that leverages the idea of nested containers using podman, runs untrusted user input, executes Quantum Circuits, allows users to refer to the Qiskit Documentation, and provides the ability to search questions on the Quantum Computing StackExchange.

Mehul 23 Oct 18, 2022
Graviti-python-sdk - Graviti Data Platform Python SDK

Graviti Python SDK Graviti Python SDK is a python library to access Graviti Data

Graviti 13 Dec 15, 2022
Simple python program to execute terminal commands on telegram chats directly.

Small python code which can be handy when using telegram and you don't want to use VPS again and again. By configuring the code in your VPS, You can execute commands and get your output within telegram. It can also be very useful in performing Recon.

Veshraj Ghimire 34 Dec 5, 2022
Python 3 SDK/Wrapper for Huobi Crypto Exchange Api

This packages intents to be an idiomatic PythonApi wrapper for https://www.huobi.com/ Huobi Api Doc: https://huobiapi.github.io/docs Showcase TODO Con

null 3 Jul 28, 2022
A new coin listing alert bot using Python, Flask, MongoDB, Telegram API and Binance API

Bzzmans New Coin Listing Detection Bot Architecture About Project Work in progress. This bot basically gets new coin listings from Binance using Binan

Eyüp Barlas 21 May 31, 2022
Snipe fair coin launches. Contact @dannsniper on telegram for whitelist

Pancakeswap-sniper Pancakeswap Sniper bot Full version of Pancakeswap sniping bot used to snipe during fair coin launches. With advanced options and a

null 36 Nov 1, 2021
The public discord bot, created by: primitt, further developed by: duino-coin team.

Duino Stats Mini A public Duino-Stats Discord bot. Click this link to invite the bot to your server. License Duino Stats Mini distributed under the MI

primboi 8 Mar 14, 2022