Àṣìṣe: Ìgbìyànjú ìgbékalẹ̀ ètò kùnà ìgbìyànjú ìdúnàádúrà kùnà: Àṣìṣe ní ṣíṣe Ìtọ́nisọ́nà 0: dátà àkọsílẹ̀ kéré jù fún ìtọ́nisọ́nà [àwọn ìṣẹ́ ìkọ̀wé 3]
Wọ́n ní kí o pọ̀ si ìwọ̀n ètò rẹ, tí o bá ṣe àwọn àyípadà sí i. Èyí ṣeé ṣe láti CLI ẹ̀yà 1.18 > Láti tún èyí ṣe, ṣe solana program extend PROGRAM_ADDRESS_HERE 20000 -u d -k ~/.config/solana/id.json Àṣẹ tí ó wà lókè yìí...
Àwọn àṣẹ àfojúsùn yàn láàyò lórí àwọn ìtọ́ni títà Raydium?
Bẹ́ẹ̀ ni, àkọsílẹ̀ amm_target_orders ti wa ní àkọsílẹ̀ àti nítorí náà kò pọn dandan láti pe ìtọ́ni swap_base_out. Níwọ́n bí Raydium AMM ti jẹ́ orísun-ṣí, o lè jẹ́rìí èyí nípasẹ̀ kóòdù orísun: ... let amm_open_orders_inf...
Báwo ni mo ṣe lè tú àkọsílẹ̀ àkọọlẹ̀ náà kí ó di àkọsílẹ̀ ní Rust fronted?
Ìṣòro pẹ̀lú #[max_len(32)] tí ó pàdánù ni pé àkọsílẹ̀ tí a ṣe sílẹ̀ ní í ṣe pẹ̀lú okùn tí a fi báìtì 0 kún láti jẹ́ báìtì 32, nígbà tí ẹ̀ka tí ń ṣe ìyípadà ń gbìyànjú láti ṣe ìyípadà ní ìwọ̀n báìtì tí okùn rẹ gbà ní ti g...
Solana/Anchor àṣẹ ìwé-ẹ̀rí tí ó dára jùlọ fún ètò ọ̀pọ̀-ètò modular (àwọn ipa tí a pín láàárín àwọn ètò, CPI)
Repo dabi ẹni pe o jẹ́ àdáni: Èyíkéyìí nínú àwọn àṣàyàn náà ní àwọn ànfààní àti àwọn àlébù rẹ̀ nítorí náà o lè ṣẹ̀dá ìmúṣe àkópọ̀ láti dínà, èyí ni àwọn kan nínú àwọn ohun èlò ọ̀pọ̀lọpọ̀ ètò tí o lè gbà: Marinade Financ...
Àṣìṣe ìdènà Mut lórí Raydium
Lẹ́yìn ìjàkadì púpọ̀ àti yíyí padà láàrin àwọn LLM 100, nígbẹ̀yìn mo ti rí ìṣòro náà. Ìṣòro náà ni pé àdéhùn mi fúnra rẹ̀ ń ṣe àwọn irú àkọsílẹ̀ ìwọlé láti inú IDL ti Launchlab tí ó ti gbó, níbi tí a kò ti ṣètò writable:...
rànwọ́ nínú ẹ̀yà tuntun ti pinocchio
Pinocchio kò ní àwọn iṣẹ́ olùrànlọ́wọ́ fún ìmúdájú àwọn wọ̀nyí nínú ẹ̀yà tuntun tàbí ẹ̀yà èyíkéyìí. Níwọ̀n bí o ti sọ pé o ń ṣe èyí fún blueshift, níbẹ̀ pẹ̀lú wọ́n ń ṣe àwọn wọ̀nyí pẹ̀lú ọwọ́.
Ìtọ́niFallbackNotFound. Nọ́mbà Àṣìṣe: 101. Ìfiránṣẹ́ Àṣìṣe: Àwọn iṣẹ́ Fallback kò ní àtìlẹ́yìn
O ní láti pèsè ìdánimọ̀ ìtọ́nisọ́nà sí dátà ìṣòwò rẹ gẹ́gẹ́ bí Ademola ti dárúkọ. Ohun tí o lè ṣe ni gbé ìdánimọ̀ ìtọ́nisọ́nà wá kí o sì fi kún dátà rẹ ní báìtì 8 àkọ́kọ́. Gbé Ìdánimọ̀ Ìtọ́nisọ́nà wá ní Rust pub fn sigha...
Ṣé àwọn ẹwẹ̀n ìṣòwò 26 tí a kò tíì fọwọ́sí ni wallet nínú Bitcoin Core 31.0 kò gbà láyè?
O lè ní ẹ̀wọ̀n tí ó gùn ju àwọn ìṣòwò 25 tí a kò tíì fìdí rẹ̀ mú nínú mempool, ṣùgbọ́n àpò owó ṣì ń fi ààlà ẹ̀wọ̀n ìṣòwò 25 múlẹ̀. Láti ṣe bitcoind -help-debug: ... -limitdescendantcount= Ètò tí a ti fagilé láti má ṣe...
Kí ni INIT_CODE_HASH àti báwo ni a ṣe ń ṣe ìṣirò / lò ó nínú àwọn ìwé àdéhùn smart DeFi
Init code hash ni basically keccak256 hash ti bytecode àwọn contract. Lílò Init Code A nílò init code hash "Nítorí pé ìṣirò àdírẹ́sì dá lórí híháṣì init code. Init code ni kóòdù tí, nígbà tí a bá ṣe é, yóò mú runtime by...
Kí ni ìdí tí ìdọ̀tí ìdókòwò tí ó kúnjú ìwọ̀n fi ń lo ọ̀rọ̀ owó lọ́nà tí ó gbéṣẹ́?
Liquidity tí ó kúnjú ìwọ̀n jẹ́ èròjà tí ó ń lo kapítálì lọ́nà tí ó gbéṣẹ́ jù nítorí pẹ̀lú ìkúnjú ìwọ̀n tí ó pọ̀ sí i, iye tọ́kẹ̀nì kan náà tí a fi sínú rẹ̀ ń dá ìjìnlẹ̀ liquidity tí ó pọ̀ sí i. Láti inú blog Uniswap: Ní...
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:
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 intermediaries. Some may prefer to call D...
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 a 0 value to non zero than non zero to...
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 (or close) from a state of the channel in...
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 setup, it's usually better to generate sepa...
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 possible public keys), and therefore privat...
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 two layers involved here: the Ethereum blo...
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 issue with using the same address for all tr...
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 obsolete and defunct. If you're using t...
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 private key using the most efficient algorithm...