Skip to main content
7 votes

Tesnet RPC node lags benhind syncing

My answer to your question is going to start out more general and then get into specifics. Let's start with what catchup is conceptually. When a Solana validator node joins any of the clusters and ...
Tim Garcia's user avatar
6 votes
Accepted

Why are there so many missing blocks

It's up to the RPC node operator to decide how much historical ledger data they will serve. I don't think many serve very old data. It's a large amount of data to store and the demand for this data ...
Zantetsu's user avatar
  • 146
6 votes
Accepted

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

https://docs.solana.com/cli/deploy-a-program#using-an-intermediary-buffer-account Instead of deploying directly to the program account, the program can be written to an intermediary buffer account. ...
Ripleys 0x's user avatar
5 votes

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

Why don't you use multisig for deploying programs to mainnet? We use Snowflake.so at Solvent Protocol and it works really well. Steps 1-3 are just to be one time when setting things up. For every ...
Dhrumil Mehta's user avatar
5 votes
Accepted

Using ledger wallet to create Candy Machine

Did you try to use the guide here from solana docs? https://docs.solana.com/wallet-guide/hardware-wallets/ledger Ensure the Ledger Live application is closed Plug your Nano into your computer's USB ...
Mark Sackerberg's user avatar
4 votes
Accepted

How can I determine a current size of Solana blockchain

This depends on your definition of what data is part of the blockchain and on your method to calculate that size. Data Categories Accounts, persistent data entries that programs own and access. Every ...
terorie's user avatar
  • 463
4 votes
Accepted

MagicEden DutchAuction address

The program address is DA14CwvMNkbMggye6Fkvqa1cMxo2Rh3neLvo8ufWoyeL https://solscan.io/account/DA14CwvMNkbMggye6Fkvqa1cMxo2Rh3neLvo8ufWoyeL How did i find it? Most auctions on the UI are english ...
Arowana's user avatar
  • 2,373
3 votes

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

Off-chain message signing feature is indeed included in the Ledger Solana app v.1.3.0. While the work on the app itself and corresponding libraries/command line tools have been completed, it takes ...
ASkibin's user avatar
  • 83
2 votes
Accepted

What is an exact definition of a snapshot on Solana

All of these refer to the same family of snapshot actually: An accounts database snapshot. What's inside? A snapshot is a compressed tar archive (.tar.bz2, .tar.gz, .tar.xz or .tar.zst file) ...
terorie's user avatar
  • 463
2 votes
Accepted

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

I believe Ledger signing is available in the Ledger Solana app v1.3, but it didn’t seem to be available yet last time I checked. What you can do is build/sign a transaction in the client then ...
meditatingsloth's user avatar
2 votes

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

You must specify an entrypoint in order to join a network, otherwise, the validator thinks it's starting a new network, and will look for a genesis file. solana-validator \ --identity ~/validator-...
Jon C's user avatar
  • 19.6k
2 votes
Accepted

Find all transactions in which a program was redeployed

You should be able to use getSignaturesForAddress to retrieve all the transactions that a particular account has been involved with. Most programs have to be buffered due to their size so you would ...
sohrab's user avatar
  • 1,851
2 votes
Accepted

Connecting to a Ledger wallet with Web3.js

Signing messages in this way is presently not supported. Follow along here: https://github.com/solana-labs/solana/issues/21366
steveluscher's user avatar
  • 3,153
2 votes

what is ledger space in solana?

As you stated solana has two types of storage: State: This is all data that is stored onchain that can be accessed and edited by programs (i.e. data stored in accounts). State is expensive because ...
McBain's user avatar
  • 5,384
2 votes

How to add hardware wallet support to a Rust CLI?

This has actually been pretty easy, there is a crate called "solana_clap_v3_utils" with a function called "signer_from_path". You can then just invoke this function with the same ...
valentinmadrid's user avatar
2 votes

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

However, we encountered a significant issue with RocksDB growing to over 1 terabyte in just 1-2 weeks, despite having almost zero transactions in the cluster during this time. We've tried various ...
steviez's user avatar
  • 586
1 vote

How to prevent RocksDB from growing?

The --limit-ledger-size parameter is the one that controls the size of rocksdb. This is a bit strange, since 50M shreds should take up ~100GB according to the code at https://github.com/solana-labs/...
Jon C's user avatar
  • 19.6k
1 vote

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? Yes, your understanding on this aspect is correct. the blocks for slots 101 and 102 were loaded ...
steviez's user avatar
  • 586
1 vote

sign and approve all transactions with connected ledger wallet

Ledgers require that all transactions be manually approved, and do not provide programmatic access to sign multiple transactions. If you want to sign many transactions quickly, you're better off using ...
Jon C's user avatar
  • 19.6k
1 vote
Accepted

LEDGER: How to sign all transaction with one approval?

Ledgers are designed for safety, first and foremost, so they do not expose the ability to sign multiple transactions at once. You'll need to do a workaround if you want this behavior, by having 1 ...
Jon C's user avatar
  • 19.6k
1 vote

Get all accounts from ledger

Based on the output you provided, you did not let the command run long enough in order to finish. The snapshot(s) must be fully unpacked to allow fetching all of the accounts. This is an expensive ...
steviez's user avatar
  • 586
1 vote
Accepted

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

I've figured this out. I am answering my own question hoping that someone will find it helpful. solana-ledger-tool --ledger ledger-directory/ modify-genesis --cluster-type development --hashes-per-...
Swaroop Maddu's user avatar
1 vote
Accepted

When Token Metadata Program was first deployed

It might be faster to inspect all transactions referencing the whichever loader that program uses, looking for the earliest deploy instruction. Then you can index all blocks since that slot
trent.sol's user avatar
  • 4,585
1 vote

anchor deploy with Ledger taking too long

If you want to deploy a program controlled by a Ledger, your best option is to do the deployment normally, then change the upgrade authority to the ledger, as recommended by the ASkibin's answer. ...
Jon C's user avatar
  • 19.6k
1 vote

anchor deploy with Ledger taking too long

You can deploy a program using regular key and then change program upgrade authority with solana program set-upgrade-authority
ASkibin's user avatar
  • 83
1 vote

anchor deploy with Ledger Nano S

My bad, ledger password was not entered :_
gud's user avatar
  • 467
1 vote

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

I usually transfer the authority temporarily to a file system wallet, deploy and it transfer it back. I have been doing this consistently and has been safe so far. Not sure why it is error prone, ...
Concise Labs's user avatar
  • 1,364
1 vote
Accepted

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

You already linked to the doc that explains how to do this.
trent.sol's user avatar
  • 4,585
1 vote
Accepted

Programmatically distinguish hardware wallet

@solana/web3.js don't have any functionality to communicate with browser and hardware wallets, so the answer to your question is no. But please look into the wallet-adapter instead as that is the ...
Meow's user avatar
  • 343

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