Giter VIP home page Giter VIP logo

algorand-wallet-connect's Introduction

Build an Algorand Web Wallet Interface Using Reach and React to Connect to My Algo Wallet and AlgoSigner

cover

This tutorial is a simple step by step guide on how to use the Reach frontend to connect to an Algorand wallet and sign transactions using MyAlgoWallet and Algosigner with React.

Connecting to a wallet is one important requirements most DApp developers will have to integrate in their application when creating a DApp on the Algorand Blockchain. This tutorial will guide you in connecting your DApp to an Algorand wallet using either My Algo Wallet or AlgoSigner. The tutorial and code solution is divided into two sections. My Algo Wallet Connect with Reach and Algosigner independent of Reach.

Connecting to My Algo Wallet is part of the inbuilt integration in reach which provides a fallback to connect to the wallet. AlgoSigner is not integrated in reach and so integrating AlgoSigner in your add does not require Reach.

My Algo Wallet Connect With Reach

  • Using Reach to connect to the My Algo Wallet
  • Checking of account information, like address and account balance
  • Using Reach Faceut to fund account
  • Transferring of fund using Reach

AlgoSigner

  • Connecting to the AlgoSigner web extension
  • Transfering fund
  • Creating Asset
  • Optin to an Asset

Setup Instructions

  • clone the repository
  • open a terminal cd to the reach-react folder
  • From there run the command npm install
  • once that has completed cd src
  • Run the curl https://raw.githubusercontent.com/reach-sh/reach-lang/master/reach -o reach ; chmod +x reach command to download reach into the src folder
  • Run the ./reach version command to ensure it installed
  • Run the REACH_CONNECTOR_MODE=ALGO ./reach devnet command to start the testnet
  • Start up a new terminal and navigate to the reach-react folder
  • Now run the npm start command to run the applications frontend
  • Navigate to the localhost link given by the above command to view the application

Demo

Screenshot 2021-11-16 at 03 28 28

Here is a demo link to the deployed Application on netlify.

License

Distributed under the MIT License. See for more information. LICENSE

Blog and Video Tutorial

For more details you can checkout the blog post here . And here is the link to the youtube demo

Disclaimer

This project is not audited and should not be used in a production environment.

algorand-wallet-connect's People

Contributors

gconnect avatar matifalcone avatar

Watchers

 avatar

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.