Q&A su Trading Cripto, Wallet e Conoscenze Blockchain
Domande e risposte comuni che coprono trading di criptovalute, wallet e conoscenze blockchain, incluse spiegazioni correlate e contenuti di risposta.
- 01
Errore:Implementazione del programma non riuscita simulazione della transazione non riuscita: Errore durante l'elaborazione dell'Istruzione 0: dati dell'account troppo piccoli per l'istruzione [3 messaggi di log]
Dovrai estendere la dimensione del tuo programma, se hai apportato modifiche. Questo è possibile dalla versione CLI 1.18 > Per risolvere, esegui solana program extend PROGRAM_ADDRE...
Tecnologia - 02
Ordini target opzionali sulle istruzioni di vendita di Raydium?
Sì, l'account amm_target_orders è commentato e quindi non è necessario per chiamare l'istruzione swap_base_out. Poiché il Raydium AMM è open source, puoi verificarlo tramite il cod...
Tecnologia - 03
Come posso deserializzare l'account nel frontend Rust?
Il problema con il #[max_len(32)] mancante è che l'account serializzato contiene una stringa riempita con byte 0 per raggiungere 32 byte, mentre la struct di deserializzazione tent...
Tecnologia - 04
Best practice di autorizzazione Solana/Anchor per un sistema modulare multi-programma (ruoli condivisi tra programmi, CPI)
Il repo sembra essere privato: Ognuna delle opzioni ha i suoi pro e contro, quindi puoi creare un'implementazione ibrida per mitigare; ecco alcune delle applicazioni multi-programm...
Tecnologia - 05
Errore di vincolo Mut su Raydium
Dopo molte difficoltà e continui passaggi tra 100 LLM, ho finalmente trovato il problema. Il problema era che il mio contratto stesso generava i tipi di account di input da un IDL...
Tecnologia - 06
aiuto nella nuova versione di pinocchio
Pinocchio non ha funzioni di supporto per validare questi nella versione più recente o in qualsiasi versione. Dato che hai menzionato che lo stai facendo per blueshift, anche lì ve...
Tecnologia - 07
InstructionFallbackNotFound. Numero di errore: 101. Messaggio di errore: Le funzioni di fallback non sono supportate
Devi fornire l'instruction discriminator ai dati della tua transazione come ha menzionato Ademola. Quello che puoi fare è recuperare l'instruction discriminator e poi aggiungerlo a...
Tecnologia - 08
Le catene di 26 transazioni non confermate sono vietate dal wallet in Bitcoin Core 31.0?
Puoi avere una catena più lunga di 25 transazioni non confermate nella mempool, ma il wallet applica comunque un limite di 25 transazioni per catena. Eseguendo bitcoind -help-debug...
Tecnologia - 09
Che cos'è INIT_CODE_HASH e come viene calcolato / utilizzato nei contratti intelligenti DeFi
L'hash del codice di inizializzazione è fondamentalmente l'hash keccak256 del bytecode del contratto. Utilizzo del codice di inizializzazione L'hash del codice di inizializzazione...
DeFi - 10
Perché la liquidità concentrata è efficiente in termini di capitale?
La liquidità concentrata è più efficiente in termini di capitale perché, con una maggiore concentrazione, la stessa quantità di token investiti crea una maggiore profondità di liqu...
DeFi - 11
Curve Voting Escrow Explanations
The Curve DAO whitepaper was very helpful for me for understanding the code, I really recommend starting with it: https://curve.fi/files/CurveDAO.pdf Specifically this part:
DeFi - 12
What is DeFi decentralized finance?
Decentralized Finance (DeFi) is the movement that leverages decentralized networks to transform old financial products into trustless and transparent protocols that run without int...
DeFi - 13
Why do these two Ethereum transactions have different gas usages? Can't explain it from the GETH EVM debug traces
One of the reason for the gas cost not being the same would be that one account did not have any usdc before the transaction and the other already had some. It cost more gas to set...
Trading e mercati - 14
Can ACINQ (Phoenix wallet peer) steal my funds during a recovery?
Nothing. If you have lost the last state and are recovering it from your peer then you are trusting it, no matter if it's encrypted or not. They could lie and continue operating (o...
Sicurezza e rischio - 15
Is it safe to use a private key for an existing singlesig wallet as one of the keys for a new multisig wallet?
The single-sig wallet will still work. Each key can be used in multiple wallets (singlesig or multisig) without interfering with the others. However, for a more secure multisig set...
Sicurezza e rischio - 16
What does it mean that the security of Bitcoin public keys and 256-bit ECDSA is 128 bits?
What does it mean that the security of 256-bit ECDSA, and therefore Bitcoin keys, is 128 bits? I mean, if I have approximately 2^256 possible points on the elliptic curve (thus pos...
Sicurezza e rischio - 17
Can a blockchain's transactions be reversed?
No, as far as we know, Ethereum transactions cannot be reversed. The DAO hack exploited a badly coded smart contract. The smart contract runs on top of Ethereum, so there are tw...
Sicurezza e rischio - 18
Receiving donation on a bitcoin address and security issues of reusing the same address
For a blog that only receives occasional small amounts you probably shouldn't worry too much about it. However, if you plan to scale up, here are some things to consider: One issu...
Sicurezza e rischio - 19
How can vulnerabilites in bitcoin be responsibly reported?
Information on current (ie, not past/public/resolved) security issues should be sent to the private [email protected] mailing list. The SourceForge list is now...
Sicurezza e rischio - 20
Is 24 words seed safer than 12 words in terms of bruteforcing the private key
Regardless of whether you have a passphrase or not 12 words is just as secure as 24 words because the resulting public key will still require 2^128 iterations to compute its privat...
Sicurezza e rischio