Skip to main content

Questions tagged [ledger]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Historical snapshots starting from genesis?

One of the implemented SIMDs (https://docs.solanalabs.com/implemented-proposals/rpc-transaction-history) mentions uploading long-term transactions history to the Google BigTable. Are there publicly ...
0 votes
0 answers
22 views

Ledger stax & solana cli [Error: no device found]

I am using Ledger Nano X and everything works fine with the CLI tool. However, I have purchased a new Ledger Stax and the Solana CLI does not support it. When trying to execute solana-keygen pubkey ...
0 votes
0 answers
12 views

How can we write to ledger space?

According to this question there is two ways to write data to ledger space: Call data (and accounts) in transactions Logging inside programs Is there any other ways?
1 vote
0 answers
74 views

Sign in with Solana - am I getting blocked by wallets/blowfish?

I implemented a basic authentication system in my dapp, mostly following the steps outlined here: https://www.quicknode.com/guides/solana-development/dapps/how-to-authenticate-users-with-a-solana-...
1 vote
0 answers
53 views

I sent SOL to wrong address [closed]

I sent SOL to wrong address by missing one character at the beginning of the address, How can get recover my SOL back?
2 votes
1 answer
174 views

How to prevent RocksDB from growing?

I'm running a local devnet node and try to prevent RocksDB from growing indefinitely. It currently occupies around 750gb. Which configuration parameter do I need to set to limit db size? This is how I ...
1 vote
1 answer
190 views

Issue with RocksDB growth in Solana private cluster despite low transaction volume

Good afternoon everyone, We recently started our Solana cluster for a project where we require hiding some transaction data and disabling commissions. However, we encountered a significant issue with ...
7 votes
1 answer
422 views

what is ledger space in solana?

from here On Solana, State Compression is the method of creating a "fingerprint" (or hash) of off-chain data and storing this fingerprint on-chain for secure verification. Effectively using ...
0 votes
1 answer
227 views

Use `solana-ledger-tool` to replay recent blocks?

Is it possible to use solana-ledger-tool to replay the most recent blocks over the provided snapshot? For example, if the snapshot was created for the slot 100 and the blocks for slots 101 and 102 ...
3 votes
1 answer
43 views

How to add hardware wallet support to a Rust CLI?

I'm currently writing the CLI for the Squads Protocol v4 program in Rust and would like to add support for Ledger signing. Right now, on CLI tx execution, you can specify a keypair directory of who ...
0 votes
1 answer
195 views

sign and approve all transactions with connected ledger wallet

how can I make ledger approve/sign multiple transactions at once? I'm using Solana wallet adapter for the browser, and for ledger users, they have to approve each transaction even when invoking the ...
0 votes
1 answer
197 views

LEDGER: How to sign all transaction with one approval?

Working on an idle NFT game and I want Ledger users to be able to send transactions only in one approval through their Ledger. There are multiple transactions. When using a wallet extension ...
1 vote
1 answer
146 views

Get all accounts from ledger

To obtain all account information from the ledger, I used the following command: solana-ledger-tool --ledger /mnt/ledger/ accounts However, only the following information is printed, and the account ...
5 votes
2 answers
234 views

Using ledger wallet to create Candy Machine

Metaplex docs says that I can create a new wallet with solana CLI to be used on CM creation. This is the command to set it as default wallet: solana config set --keypair ~/.config/solana/devnet.json ...
0 votes
2 answers
572 views

How to use solana-ledger-tool to modify genesis.bin?

I'm trying to modify the genesis.bin parameters but there isn’t specific documentation. But I can see modify-genesis as an available sub-command but can’t figure out how to use it to modify Cluster ...
3 votes
2 answers
1k views

Tesnet RPC node lags benhind syncing

I'm trying to setup a RPC Testnet node but unfortunately this node is slowly lagging behind syncing. I've tried latest recommendations after Aug 2022 Testnet restart but problem still persists. Find ...
5 votes
1 answer
168 views

MagicEden DutchAuction address

MagicEden has a few programs, such as EnglishAuction, EnglishAuctionSpl, DutchAuction, and, possibly DutchAuctionSpl. But I weren't able to find address of a DutchAuction program anywhere. What is it? ...
4 votes
2 answers
2k views

How to sign message with Ledger (Phantom extension)? Or alternative solution?

Signing message to prove the ownership of an address is a common and 0 cost solution among many apps. Most of wallet extensions support it with a provided function commonly called signMessage. However,...
2 votes
1 answer
1k views

Solana Validator extracting genesis.tar.bz2 does not produce genesis.bin

Solana Newbie here. I am trying to setup an RPC node for extracting data from the Solana chain. However I am having trouble launching the Solana Validator. I feel like I must be missing a dependency ...
1 vote
2 answers
117 views

anchor deploy with Ledger taking too long

I am deploying with usb://ledger using anchor deploy It shows a different output than when using a json wallet. Deploying workspace: https://api.mainnet-beta.solana.com Upgrade authority: usb://ledger ...
0 votes
1 answer
81 views

Find all transactions in which a program was redeployed

How to get all transactions, when a specific Solana program was redeployed given I only have a program address.
5 votes
1 answer
378 views

Why are there so many missing blocks

Trying to get early (~2021 March) blocks either with public RPC, QuickNode RPC or Alchemy RPC results in almost 1/3 blocks being missing (not skipped!). Why is that so? Can those blocks be retrieved ...
0 votes
1 answer
94 views

anchor deploy with Ledger Nano S

I am trying to deploy program with anchor deploy and getting the following error. Deploying workspace: https://api.mainnet-beta.solana.com Upgrade authority: usb://ledger Deploying program "lpfi-...
2 votes
0 answers
364 views

What is the maximum entry size?

Context The Solana blockchain grows in blocks (identified by the slot number) Each block is transmitted and stored (blockstore) using data shreds. Each data shred is a 1kB piece identified by (slot, ...
6 votes
4 answers
286 views

Deploying program with Ledger: best way to deploy without having to click 600 times for each tx?

So our program is not the most complex (a few hundred lines of code), but looks like it wants us to do 600+ transactions. Is there some way to "sign all" transaction with Ledger when ...
0 votes
1 answer
71 views

When Token Metadata Program was first deployed

I want to process all blocks which referenced mpl_metadata_program in parallel, which would mean that simply using get_signatures_for_address is insufficient as it would be hard to parallelize, so ...
4 votes
1 answer
205 views

Connecting to a Ledger wallet with Web3.js

I currently have a web app that uses web3.js to connect to Phantom wallets and sign with a relatively straightforward code snippet below: const response = await solana.connect(); const message = '...
1 vote
1 answer
174 views

How to download and set up a complete ledger for RPC endpoint

I can set up a bigtable instance with steps specified here. And I can set up an RPC endpoint with solana-validator CLI here. However, I do not understand from where I can download a complete ledger ...
5 votes
1 answer
690 views

What is an exact definition of a snapshot on Solana

There is a lot of disjoint info about snapshots, say here, or here and even here. However, I do not completely understand what snapshots are and how can they be used.
1 vote
1 answer
93 views

Programmatically distinguish hardware wallet

Is it possible to programmatically tell the difference between a hot wallet and a hardware wallet with @solana/web3.js? I would like some features to be available only for Ledger users.
4 votes
1 answer
2k views

How can I determine a current size of Solana blockchain

I've seen a few discussions pointing out that in a year Solana's ledger grows up by ~2Tb. However, Solana produces ~2 blocks per second with an average size of 1.5Mb (taken from getBlock RPC request), ...