solflare-sdk's People
solflare-sdk's Issues
Add decryption API
Metamask allows for content decryption via the private key associated with the user's wallet.
https://docs.metamask.io/guide/rpc-api.html#eth-decrypt
It would be great for Solana wallets to support this as well.
The workflow for an application might look like:
- Encrypt data using user's wallet's public key
- Store encrypted data somewhere, perhaps on-chain, perhaps in local storage, perhaps in some centralized db
- In dapp front-end, user signs in via their crypto wallet, which decrypts the content.
Solflare enabled despite insecure connection.
Was solving a bug where I could use Solflare but I couldn't use Phantom or Ledger when testing my web3 app with
vite preview -- --host
I realised, when testing the app through ngrok which provides https, that they were deactivated due to an insecure(http) connection.
Might be good to look into adding this feature to the Solflare wallet as well.
Wallet adapter opens iframe, fails due to content security policy
We are using a Chrome Extension to inject our modal into websites. This includes a Swap form with a "Connect Wallet" button using solana-labs/wallet-adapter.
When connecting a standard wallet-adapter wallet (such as Phantom Wallet), things work as expected but when connecting Solflare, the solflare-sdk tries to inject an iframe and fails due to content security policy. CSP blocking fetch requests can be worked around (solana/web3.js Connection accepts custom fetch implementation) but we are not aware of such workaround for iframes.
It would be ideal if it was possible to pass a param in SolflareConfig and avoid the iframe part of the workflow altogether.
Android App default icon
Devnet message sign: Network mismatch error
Bug report
RPC url devnet + Wallet adapter devnet + Solflare devnet = I have this error when I try to sign a message in devnet:
Code example:
const { signMessage } = useWallet();
const message = new TextEncoder().encode("abcd");
if (signMessage) {
const signature = await signMessage(message);
console.log('signature', signature);
}
Related: https://solana.stackexchange.com/questions/12768/network-mismatch
Biometric doesn't work
having troubles with webconnection\extension
Web and the extension shows when i connect to https://solflare.com/portfolio 429 (Too Many Requests)
{
"error": "Too many requests."
}
it looked like problem with rpc endpoint, but suppose its only me who get this error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.