Skip to main content
9 votes
Accepted

Solana Mobile Dev

No set date yet, but targeting early Q4. Saga should be ready for the public in Q1 2023.
Brian Friel's user avatar
4 votes

Error on connection.confirmTransaction: ws error

Error 401 means "unauthorized", so it appears that the RPC endpoint that you're using doesn't authorize you for websockets. This means that the client doesn't see the transaction get ...
Jon C's user avatar
  • 16.1k
3 votes
Accepted

Deriving a public key from a private key programmatically

You can use tweetnacl to generate pubkey from the secret key. ... import * as nacl from 'tweetnacl'; import * as bs58 from 'bs58'; ... export function deriveSolAddressFromKey(key: string): string { ...
cowboy's user avatar
  • 326
3 votes

how can i send a transaction to a solana program using flutter/dart

Disclaimer, I don't have Flutter experience and I'm not familiar with the flutter library you linked, but I looked through their GH repo and see that they provide an implementation of the ...
michaelsulistio's user avatar
2 votes

Unable to call Phantom Deeplink /disconnect endpoint in Flutter mobile app

You can use my package for flutter flutter_phantom import 'package:flutter_phantom/flutter_phantom.dart'; initialise required Parameters. final FlutterPhantom phantom = FlutterPhantom( appUrl: "...
Navid Hosseini's user avatar
2 votes
Accepted

Unable to call Phantom Deeplink /disconnect endpoint in Flutter mobile app

Ok so instead of this: final encryptedMsg = sharedSecret.encrypt( Uint8List.fromList(payloadJson.codeUnits), ); it worked when I added .cipherText and used a nonce var nonce = PineNaClUtils....
Ritvij Sharma's user avatar
2 votes

signTransaction for SMS

The raw mobile-wallet-adapter-protocol-web3js module that you’ve imported does not export a signTransactions method. The only method that it exports is a transact method. See more on how to use the ...
steveluscher's user avatar
  • 2,455
2 votes

How can I use anchor typescript library in flutter mobile?

You can fetch data from the Solana network using Solana's JSON RPC API. https://docs.solana.com/developing/clients/jsonrpc-api You can get balances, account info, etc... But you need to parse data ...
vicyyn's user avatar
  • 4,095
2 votes

can anyone guide me how to install solana/web3.js in react native application. I am getting BigInt related errors?

1. Add big-integer to your list of dependencies: yarn add big-integer 2. Add a reference in shim.js there’s a polyfill for Android if (typeof BigInt === 'undefined') global.BigInt = require('big-...
vicyyn's user avatar
  • 4,095
2 votes
Accepted

Solana mobile sdk seed vault unauthorized

This could be for one of several reasons: Do you have the impl project installed? It provides the reference implementation of the Seed Vault APIs, which are consumed by the fakewallet app. One thing ...
Steven Laver's user avatar
1 vote
Accepted

Does the Solana Mobile Android phone support fingerprint / face verification for payments like Google Pay / Apple Pay?

Yes it does for fingerprint but not face ID. The Solana Saga handles signing transactions using it's underlying secure enclave, which in turn allows verification using the finger print sensor out of ...
Ahri's user avatar
  • 4,607
1 vote

Error on connection.confirmTransaction: ws error

Which RPC endpoints are you using? It could be that your mainnet RPC is not supporting websockets. Grab one dedicated Helius or Shyft RPC endpoint for free, they support wss. https://dev.helius.xyz/...
Josip Volarević's user avatar
1 vote
Accepted

Why does my react web app break on mobile when trying to sign an off-chain message

The reason why this happens is because you most likely rely on useEffect to prompt a user to sign a message. Like so: useEffect(() => { if (wallet?.publicKey) signMessageAndSendToBackend(wallet?....
Josip Volarević's user avatar
1 vote

Solana SMS 500 Error: Unable to resolve module with Metaplex SDK and Project Serum Anchor

The solution by https://github.com/BoxInThePARK/mobile-nft-mint-example is as follows: In package.json, add: node-libs-react-native": "^1.2.1" In metro.config.js resolver: { ...
solanagirl's user avatar
1 vote
Accepted

On mobile browsers how do I properly authorize and sign a message in a single wallet session

Detect if wallet adapter is a mobile one: wallet.adapter.name === 'Mobile Wallet Adapter' and if it is use one of the two approaches: use 2 separate buttons - one for connecting the wallet (...
Josip Volarević's user avatar
1 vote

Solana Mobile Dev

i believe the earliest would be ‘23 according to initial communications. i may be outdated and can stand to be proven wrong.
jrsfiend's user avatar
1 vote

How can I use anchor typescript library in flutter mobile?

I few months ago I was on a situation like this, we tried to use the Solana web3 sdk but there is no way to use it without porting it Flutter. Flutter and Typescript are not compatible AFAIK, in fact ...
Marco Ordoñez's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible