Code Monkey home page Code Monkey logo

arweavewalletconnector's People

Contributors

douganderson444 avatar jfbeats avatar pawanpaudel93 avatar

Stargazers

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

Watchers

 avatar  avatar

arweavewalletconnector's Issues

open to a re-name?

JF, since this connector could be used for wallets outside of Arweave, would you be open to renaming it to Web3-Wallet-Connector?

tx data to wallet for signing

const { data, chunks, ...txHeader } = tx // todo transfer data separately?

Hey JF, not sure if you've considered this yet, but I've been thinking that Transferring the data buffer over to the wallet for signing might be the fastest/most efficient way to do this.

Transfers can be done in .postMessage(message , [transferable object]) so it should work well with iframe postmessages too

The steps are not clear enough ?

Hello,

I'm a beginner at JS, and I find this tough to reproduce,
What I did is that I've run the command

npm i arweave-wallet-connector

then in the directory I made html file added that content :

<html>
<body>
<!--StartFragment-->

<script>
--
  | import { ArweaveWebWallet }
  |  
  | const wallet = new ArweaveWebWallet({
  | name: 'Connector Example',
  | logo: 'https://jfbeats.github.io/ArweaveWalletConnector/placeholder.svg'
  | })
  |  
  | wallet.setUrl('arweave.app')
  | await wallet.connect() // on user gesture to avoid blocked popup
  | </script>

<!--EndFragment-->
</body>
</html>

It was returning some error in the console, then I though this might be a nodeJS (as said I'm not good enough) and yet it's not working, I was poking around almost 4 hours
Can you please edit the readme.md with more clear "steps" and thanks in advance

Should this library require the arweave-js library?

Hi, thanks for this library!

I get this error when trying to build my web app and it prevents my app from building:

ERROR in ../../node_modules/arweave-wallet-connector/lib/Arweave.js 21:0-53
Module not found: Error: Can't resolve 'arweave/web/lib/transaction.js' in '.../node_modules/arweave-wallet-connector/lib'

If I manually add the arweave-js library with yarn add arweave, the error goes away.

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.