2022-01-27
5553
#blockchain#python
Carlos Mucuho
89605
Jan 27, 2022 â‹… 19 min read

How to build a Solana Discord wallet with Python

Carlos Mucuho A geologist-turned-programmer.

Recent posts:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 â‹… 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 â‹… 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

Native dialog and popover elements have their own well-defined roles in modern-day frontend web development. Dialog elements are known to […]

Rahul Chhodde
Jul 24, 2024 â‹… 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 â‹… 5 min read
View all posts

9 Replies to "How to build a Solana Discord wallet with Python"

  1. Hey Carlos, thanks for the informative blog post. Would like you to clarify, did you mean 1 trillion or 1 billion, because the number and the words are contradicing themselves. I mean in the fund_account function. You put 1,000,000,000 but then say it as 1 trillion

  2. “secret_key”: “\u00d1R>\u00fe5\u0088\u009bm\u0014\u0095$u\u00aa\u00e3^\u00e8\u00a0\u0097\b\u00c…
    how to convert it to utf-8

  3. ‘charmap’ codec can’t encode character ‘\x9f’ in position 45: character maps to having this problem while decoding secret_key in create_account

  4. This is super informative and would love to give it a try! I only have one question – is it possible to use a custom token built on the Solana chain, such as by using the custom token address/ID?

  5. Hey, I have a question. Whenever I try to execute a command I get in my IDE, the error: ‘str’ object has no attribute ‘to_solders’. In discord I get the message “Failed to fund account”. Only the create command works for me. How can I solve this problem?

    1. Yo,
      After debbuging this a little bit, I found that the problem is when he is trying to use the public key,
      you should use PublicKey(account[“public_key”])
      instead of account[‘public_key’]
      hope that it helps to you or anyone that try to follow this tutorial 🙂

  6. Wow, nice tutorial thanks for sharing it. Does this still work? I was trying another youtube tutorial on creating wallets and transactions using solana.py and it doesn’t work anymore.

    Thanks!

Leave a Reply