jfbeats / arweavewalletconnector Goto Github PK
View Code? Open in Web Editor NEWUse arweave wallet websites inside your applications
Use arweave wallet websites inside your applications
JF, since this connector could be used for wallets outside of Arweave, would you be open to renaming it to Web3-Wallet-Connector?
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
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
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.
What is the best way to reconnect the wallet on browser refresh, I am making several attempts but not getting any feedback.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.