خرابی: پروگرام کی تعیناتی ناکام ہو گئی لین دین کی نقلی کارروائی ناکام ہو گئی: ہدایت 0 کی کارروائی میں خرابی: ہدایت کے لیے اکاؤنٹ کا ڈیٹا بہت چھوٹا ہے [3 لاگ پیغامات]
اگر آپ نے اپنے پروگرام میں تبدیلیاں کی ہیں تو آپ کو اس کا سائز بڑھانا ہوگا۔ یہ CLI ورژن 1.18 > سے ممکن ہے اسے ٹھیک کرنے کے لیے یہ چلائیں solana program extend PROGRAM_ADDRESS_HERE 20000 -u d -k ~/.config/solana/id.json...
رے ڈیم پر فروخت کی ہدایات میں ٹارگٹ آرڈرز اختیاری؟
جی ہاں، amm_target_orders اکاؤنٹ کمنٹ آؤٹ کر دیا گیا ہے اور اس لیے swap_base_out ہدایت کو کال کرنے کے لیے اس کی ضرورت نہیں ہے۔ چونکہ Raydium AMM اوپن سورس ہے، آپ سورس کوڈ کے ذریعے اس کی تصدیق کر سکتے ہیں: ... let amm_op...
رست فرنٹ اینڈ میں اکاؤنٹ کو کیسے ڈی سیریلائز کیا جا سکتا ہے؟
#[max_len(32)] غائب ہونے کا مسئلہ یہ ہے کہ سیریلائزڈ اکاؤنٹ میں ایک سٹرنگ شامل ہے جسے 32 بائٹس بنانے کے لیے 0 بائٹس سے پیڈ کیا گیا ہے، جبکہ ڈی سیریلائز کرنے والا سٹرکٹ صرف اتنے ہی بائٹس ڈی سیریلائز کرنے کی کوشش کرتا ہے ج...
Solana/Anchor اجازت دینے کا بہترین طریقہ ایک ماڈیولر ملٹی پروگرام سسٹم کے لیے (پروگراموں میں مشترکہ کردار، CPI)
ریپو بظاہر نجی ہے: تمام اختیارات کے اپنے فوائد اور نقصانات ہیں، لہٰذا آپ تخفیف کے لیے ایک ہائبرڈ نفاذ بنا سکتے ہیں، یہاں کچھ ملٹی پروگرام ایپلیکیشنز ہیں جو آپ اپنا سکتے ہیں: Marinade Finance: ایک واحد بنیادی پروگرام + م...
Raydium پر Mut constraint کی خرابی
بہت زیادہ جدوجہد اور 100 LLMs کے درمیان تبدیلی کے بعد، آخرکار مجھے مسئلہ مل گیا۔ مسئلہ یہ تھا کہ میرا کنٹریکٹ خود ہی Launchlab کے پرانے IDL سے ان پٹ اکاؤنٹ ٹائپس جنریٹ کر رہا تھا، جہاں writable: true سیٹ نہیں تھا۔ مجھے ی...
نئے ورژن پنوکیو میں مدد کریں۔
پینوکیو کے تازہ ترین ورژن یا کسی بھی ورژن میں ان کی توثیق کے لیے کوئی معاون فنکشنز موجود نہیں ہیں۔ چونکہ آپ نے ذکر کیا کہ آپ یہ بلیو شیفٹ کے لیے کر رہے ہیں، وہاں بھی یہ دستی طور پر نافذ کیے جاتے ہیں۔
ہدایت فال بیک نہیں ملا۔ خرابی نمبر: 101۔ خرابی کا پیغام: فال بیک فنکشنز معاون نہیں ہیں
آپ کو اپنی ٹرانزیکشن کے ڈیٹا میں instruction discriminator فراہم کرنا ہوگا جیسا کہ Ademola نے ذکر کیا ہے۔ آپ یہ کر سکتے ہیں کہ instruction discriminator حاصل کریں پھر اسے اپنے ڈیٹا کے پہلے 8 bytes میں شامل کریں۔ Rust میں...
کیا Bitcoin Core 31.0 میں والٹ کی طرف سے 26 غیر تصدیق شدہ لین دین کی زنجیریں ممنوع ہیں؟
آپ mempool میں 25 غیر تصدیق شدہ ٹرانزیکشنز سے لمبی چین رکھ سکتے ہیں، لیکن والٹ پھر بھی 25 ٹرانزیکشن چین کی حد نافذ کرتا ہے۔ bitcoind -help-debug چلانے سے: ... -limitdescendantcount= فرسودہ سیٹنگ تاکہ ٹرانزیکشنز قبول نہ...
INIT_CODE_HASH کیا ہے اور DeFi اسمارٹ کنٹریکٹس میں اس کا حساب کیسے لگایا جاتا ہے / استعمال کیسے ہوتا ہے
Init code hash بنیادی طور پر کنٹریکٹ کے bytecode کا keccak256 hash ہے۔ Init Code کا استعمال Init code hash کی ضرورت اس لیے ہوتی ہے "چونکہ ایڈریس کا حساب init code کو hash کرنے پر منحصر ہے۔ Init code وہ کوڈ ہے جو، جب exe...
کنسنٹریٹڈ لیکویڈیٹی کیپٹل ایفیشنٹ کیوں ہے؟
مرکوز لیکویڈیٹی زیادہ سرمایہ کارانہ طور پر موثر ہے کیونکہ بڑھتی ہوئی مرکوزیت کے ساتھ، سرمایہ کاری شدہ ٹوکنز کی اتنی ہی مقدار لیکویڈیٹی کی زیادہ گہرائی پیدا کرتی ہے۔ Uniswap کے بلاگ سے: اپنی لیکویڈیٹی کو مرکوز کر کے، LPs...
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...