stellar-TUI a terminal user interface for Horizon Stellar

This is a submission for the Build Better on Stellar: Smart Contract Challenge : stellar-tui
a terminal user interface for Horizon Stellar

Your Tutorial

In this tutorial, I’ll walk you through the process of creating a console applicatio…


This content originally appeared on DEV Community and was authored by José Carlos Cirqueira Júnior

This is a submission for the Build Better on Stellar: Smart Contract Challenge : stellar-tui
a terminal user interface for Horizon Stellar

Image description

Your Tutorial

In this tutorial, I'll walk you through the process of creating a console application using Rust to interact with the Stellar network. The application connects to the Horizon Stellar network, performs API queries, and leverages Rust crates for API abstraction. By the end of this guide, you'll have a functional terminal user interface (TUI) application for Stellar network interactions.

What I Created

Image description

For the Build Better on Stellar Smart Contract Challenge, I developed a console-based application with a terminal user interface (TUI) to interface with the Stellar Horizon network. The project involved making direct API requests to the Stellar Horizon API and using Rust crates to abstract these queries. The application integrates Stellar network functionalities, allowing users to interact with the network via a terminal interface.

In the initial version, the application supports:

  • Connecting to the Stellar network through various available wallets.
  • Performing queries directly to the Stellar Horizon API. Horizon API
  • Utilizing Rust crates for streamlined API interactions.

Github

Image description

Image description

Journey

My journey began with learning how to perform direct API requests to the Stellar Horizon network. I explored different Rust crates that provide abstractions for these API calls, which made handling the interactions more manageable and efficient. I also delved into Stellar wallets, understanding how to establish connections and use them effectively within the application.

The project highlighted the need for better information handling and display. As a next step, I plan to integrate the ratatui crate to enhance the terminal interface, improving the overall user experience. This addition will help create a more interactive and visually appealing TUI.

Overall, this challenge has been a valuable learning experience, providing insights into Stellar network interactions and Rust programming. I’m excited to continue developing this application, refining its features, and improving its user interface.

I'm also incredibly hopeful about attending Meridian 2024—fingers crossed that everything works out for this project! 🌟

Team Submissions

Me: cirqueira-labs (Discord: cirqueira5650)
E-mail: jccirqueira@outlook.com


This content originally appeared on DEV Community and was authored by José Carlos Cirqueira Júnior


Print Share Comment Cite Upload Translate Updates
APA

José Carlos Cirqueira Júnior | Sciencx (2024-08-19T02:39:51+00:00) stellar-TUI a terminal user interface for Horizon Stellar. Retrieved from https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/

MLA
" » stellar-TUI a terminal user interface for Horizon Stellar." José Carlos Cirqueira Júnior | Sciencx - Monday August 19, 2024, https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/
HARVARD
José Carlos Cirqueira Júnior | Sciencx Monday August 19, 2024 » stellar-TUI a terminal user interface for Horizon Stellar., viewed ,<https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/>
VANCOUVER
José Carlos Cirqueira Júnior | Sciencx - » stellar-TUI a terminal user interface for Horizon Stellar. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/
CHICAGO
" » stellar-TUI a terminal user interface for Horizon Stellar." José Carlos Cirqueira Júnior | Sciencx - Accessed . https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/
IEEE
" » stellar-TUI a terminal user interface for Horizon Stellar." José Carlos Cirqueira Júnior | Sciencx [Online]. Available: https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/. [Accessed: ]
rf:citation
» stellar-TUI a terminal user interface for Horizon Stellar | José Carlos Cirqueira Júnior | Sciencx | https://www.scien.cx/2024/08/19/stellar-tui-a-terminal-user-interface-for-horizon-stellar/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.