Skip to content

secretkeylabs/wallet-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallet Connect for Stacks

IMPORTANT: Use node v16.x - current node version on Mac is v18.x, but it introduces breaking changes!

This repo contains instructions on how to add Wallet Connect support to your app and connect it with Stacks wallet (thourh Stacks.js API).

The repo contains of 3 things that should be ready to run:

  1. Wallet - react app that simulates a wallet - modified to support Stacks

    Original repo: https://github.com/WalletConnect/web-examples/tree/main/wallets/react-wallet-v2

  2. Web App - react app that we implement the Wallet Connect to.

    This is a pure Create React App project that starts from "zero" to what's in the repo - see the README.md file!

  3. Stacks Wallet Connect - helper functions and constants used in the wallet itself - we'll probably get rid of it so don't get too attached to it ;)

Setup

  1. Clone the repo (obviously)

  2. Insall dependencies in all 3 directories

     cd wallet/webapp/stacks-wallet-connect
     yarn
    
  3. Create linkable @web3devs/stacks-wallet-connect package

     cd stacks-wallet-connect
     yarn build
     yarn link
    
  4. Link the package in wallet

     cd wallet
     yarn link @web3devs/stacks-wallet-connect
    
  5. Starting the development environment

     cd webapp
     yarn start
     cd ..
     cd wallet
     yarn dev
    
  6. Read the WebApp README!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •