Coder Social home page Coder Social logo

no-cash-7970 / txnduck Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 3.0 3.14 MB

Transaction building tool for Algorand blockchain

Home Page: https://txnduck.vercel.app

License: MIT License

JavaScript 1.14% CSS 0.07% TypeScript 98.77% HTML 0.02%
algorand algorand-blockchain blockchain cryptocurrencies cryptocurrency website free-and-open-source-software

txnduck's Introduction

txnDuck ๐Ÿฆ†
Transaction Builder UI

Algorand badgeย  Next.js badgeย  Tailwindcss badgeย  License MIT badgeย 

PWA Shields FOSSA Status

A free and open source web-based tool that serves as a graphical user interface (GUI) for easily creating and sending Algorand transactions without the need for software development knowledge.

๐Ÿงญ Table of contents

๐ŸŒ Websites

You can use txnDuck for free (excluding any Algorand network fees) at the following websites:

Production: https://txnduck.vercel.app
Preview: https://txnduck-preview.vercel.app

The Production website hosts the latest stable release (the stable branch) where are all of the features are considered complete and stable. On the other hand, the Preview website usually hosts the unstable version (the main branch) with the latest developments, so it may have incomplete and/or unstable features that have yet to be released. There may be times when both websites are the same.

โœจ Features

  • Build and send a transaction to transfer Algos, create a token or NFT, call an application (smart contract), etc.
  • Import a transaction file to sign or send
  • Export to a signed/unsigned transaction file
  • Specify custom Algod node
  • FUTURE: Build transaction groups (atomic transactions)

๐Ÿ’ฌ Supported languages

The UI (user interface) for txnDuck has multiple supported languages. However, not all of the languages have the same amount of support. The translations for some of the supported languages may be incomplete or contain errors due to being a machine translation.

If you want to help by adding or fixing a translation, read about how you can do so in the Contributing Guidelines.

Language Completeness Machine translated?
English Full No
Spanish Full Yes

๐Ÿ’ป Setting up and running locally

Important

This is not for development. To set up and run txnDuck for development, follow the instructions for installing txnDuck for development.

Instead of using one of the official txnDuck websites, you can choose to download the source code and run the software locally on your own computer that does not rely on an external website.

Requirements for local setup

  • Access to your machine's command line interface (CLI), such as Terminal, PowerShell or Command Prompt
  • Node.js version 18.18.0 or higher installed. Version 20.0.0 or higher is recommended.
  • Yarn package manager installed. Version 2.0.0 or higher, version 4.0.0 or higher is recommended.

    NOTE: If you have Yarn 1.x.x installed, you can install and switch to Yarn 2.0.0 or higher by running `corepack enable && yarn set version berry

Installing the local setup

  1. Download the latest source code.

  2. Unzip the downloaded source code. You should now have a new folder that contains a bunch of files and folder, which include "public" and "yarn.lock".

  3. Open the CLI and go to the folder created in step #2 by running the following in the CLI. Of course, replace PATH/TO/SOURCE_CODE/FOLDER with the actual path to the folder.

    cd PATH/TO/SOURCE_CODE/FOLDER
  4. Install the source code dependencies.

    yarn workspaces focus --all --production
  5. Build the source code.

    yarn build
  6. Run the web server.

    yarn start
  7. Open a web browser and go to http://localhost:3000 to start using your local txnDuck! ๐ŸŽ‰ The web server must be running in the CLI (Command Line Interface) to use your local txnDuck.

  8. (Optional) If you are finished using your local txnDuck, stop the web server by closing the CLI window or by pressing Ctrl+C (or Cmd+C on Mac) while in the CLI. You can start the web server again by following Steps #6 and #7.

Uninstalling and removing the local setup

  1. Make sure the web server is not running. Stop the server if it is. Refer to step #8 in the installation instructions.
  2. Delete the source code folder. (The folder created in Step #2 of the installation instructions)
  3. OPTIONAL: Uninstall the software listed in the requirements for local setup if you do not need them for something else.

Updating the local setup

Some time after installing the local setup, a new version of txnDuck may be released. It is recommended that you update to the latest version to have the latest features and bug fixes.

  1. OPTION #1: Uninstall the old version by following Steps #1 and #2 of the uninstallation instructions.
    OPTION #2: Keep the old version and rename the source code folder for the old version.
    OPTION #3: Keep the old version without renaming its source code folder. When installing the new version, use a different name for the new version's source code folder.
  2. Make sure the web server is not running. Stop the server if it is. Refer to step #8 in the installation instructions.
  3. Follow the installation instructions again. Make sure you download the latest source code.

๐Ÿ› ๏ธ Installation for development

Refer to the Developers Documentation for instructions on how to install, update or uninstall the development environment.

๐Ÿค Contributing

Contributions are highly welcomed and appreciated. Every little bit of help counts, so do not hesitate! Please read the Contributing Guidelines to learn how to contribute to this project.

๐Ÿ† Acknowledgments

  • SilentRhetoric - Proposed the idea of a transaction builder for Algorand
  • Wes - Recommended the name "txnDuck"

txnduck's People

Contributors

no-cash-7970 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

txnduck's Issues

Compose txn: Form field validation

  • Validation for general fields
  • Validation for payment fields
  • Validation for asset transfer fields
  • Validation for asset configuration fields
  • Validation for asset freeze fields
  • Validation for application fields
  • Validation for key registration fields

Set up git hooks

Initialization

  • yarn create next-app
  • Add .editorconfig
  • Add .vscode/ to .gitignore
  • Add .gitattributes
  • Add LICENSE
  • First commit

Add CONTRIBUTING

Conditional show component (ShowIf)

A component that will only show if the given condition is true. The component is hidden by default.

Example:

<ShowIf cond={true}>
  Hello world!
</ShowIf>

Replace home page

Replace the placeholder home page with a real home page with the appropriate links.

Send txn page

  • Heading
  • Confirmed transaction message
  • Handle failed transaction

Txn presets page

This page will have /txn as the URL

  • Set buttons to links using query parameter
  • Process query parameter in Compose Txn page
  • Add category filter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.