https://ergoplatform.org/ logo
Join Discord
Powered by
# šŸ› ā”‚appkit
  • m

    MGpai

    02/09/2023, 5:02 AM
    Boxes use explorer api
  • m

    MGpai

    02/09/2023, 5:03 AM
    When you create ergo object you can specify
  • m

    MGpai

    02/09/2023, 5:03 AM
    Look through examples
  • d

    dΣathgripson

    02/09/2023, 5:08 AM
    ok I added it but the address encoding error is still present
  • m

    MGpai

    02/09/2023, 5:09 AM
    Yes the api should help with input boxes only
  • m

    MGpai

    02/09/2023, 5:10 AM
    Just make sure the address are valid
  • m

    MGpai

    02/09/2023, 5:11 AM
    Try using node address to test for error
  • d

    dΣathgripson

    02/09/2023, 5:14 AM
    I put my node address in for all the addresses still getting that error
  • d

    dΣathgripson

    02/09/2023, 5:26 AM
    In the example theres no input_box argument in the genesis_tx var
  • d

    dΣathgripson

    02/09/2023, 5:26 AM
    im getting an error now that seems to be based on that also the base58 thing is because receiver_addresses expects a list and I was passing a string
  • d

    dΣathgripson

    02/09/2023, 5:28 AM
    i guess that means it is failing to get a box with this method,
    Copy code
    if input_box is None:
            input_box = ergo.getInputBoxCovering(amount_list=amount, sender_address=sender_address)
    is this really dependent on a 3rd party api?
  • d

    dΣathgripson

    02/09/2023, 6:49 AM
    getInputBoxCovering wasnt being called properly even when the input_box=None so I am calling in manually
  • d

    dΣathgripson

    02/09/2023, 7:11 AM
    lmk if you have ran into this https://duckduckgo.com/?q=SLF4J%3A+Failed+to+load+class+%22org.slf4j.impl.StaticLoggerBinder%22&t=brave&ia=web
  • c

    Cheese Enthusiast

    02/09/2023, 2:01 PM
    You can ignore this error, if it bothers you then all you need to do is import a SLF4J library into your program
  • m

    MGpai

    02/09/2023, 4:57 PM
    @dΣathgripson Is it working fine now?
  • d

    dΣathgripson

    02/09/2023, 4:59 PM
    I got through the chained transactions example after a few modifications, for the most part it is working very well. thank you for helping
  • m

    MGpai

    02/09/2023, 5:16 PM
    wonderful, that is the hardest part for most beginners
  • m

    MGpai

    02/09/2023, 5:17 PM
    If you go through the source code in appkit.py you can add methods which will help to compile ergoscript
  • m

    MGpai

    02/09/2023, 5:17 PM
    it will work for freeze coin
  • m

    MGpai

    02/09/2023, 5:17 PM
    I done it in the past
  • m

    MGpai

    02/09/2023, 5:17 PM
    python gets difficult though for more complex ergoscript data types though
  • d

    dΣathgripson

    02/09/2023, 5:24 PM
    Im planning to write complex contracts with scala then deploying with python
  • d

    dΣathgripson

    02/09/2023, 5:24 PM
    but the python is highly convenient to get started
  • m

    MGpai

    02/09/2023, 5:28 PM
    yes python definitely helped my journey into scala
  • j

    Jonathanbtc.

    02/10/2023, 12:55 AM
    I'll help anyone interested in how to earn $30k within 3 days and hours but you will reimburse me 10% of your dividend when you collect it. Note: only interested people should involve send a friend request or Wa.me +1 (651) 899-4465 immediately.
  • m

    MoveBot 1.5

    02/10/2023, 7:53 AM
    @User, @User, @User, @User, @User, @User, @User, and @User, your messages were moved to #1073483680099618876 by @User
  • m

    MoveBot 1.5

    02/10/2023, 8:01 AM
    @User, @User, @User, @User, @User, @User, @User, @User, @User, @User, and @User, your messages were moved to #1073483680099618876 by @User
  • m

    MoveBot 1.5

    02/10/2023, 8:07 AM
    @User, @User, @User, @User, @User, @User, and @User, your messages were moved to #1073483680099618876 by @User
  • g

    Glasgow

    02/10/2023, 8:08 AM
    !mv +100 #1073483680099618876
  • g

    Glasgow

    02/10/2023, 9:11 AM
    !mv +1000 #1073483680099618876