خطا: استقرار برنامه ناموفق بود شبیهسازی تراکنش ناموفق بود: خطا در پردازش دستورالعمل 0: دادههای حساب برای دستورالعمل بسیار کوچک است [3 پیام گزارش]
اگر تغییراتی در برنامه خود ایجاد کردهاید، باید اندازه برنامه خود را افزایش دهید. این کار از نسخه CLI 1.18 به بعد امکانپذیر است > برای رفع این مشکل اجرا کنید solana program extend PROGRAM_ADDRESS_HERE 20000 -u d -k ~/.c...
گزینه سفارشهای هدف اختیاری در دستورالعملهای فروش Raydium؟
بله، حساب amm_target_orders کامنت شده است و بنابراین برای فراخوانی دستور swap_base_out نیازی به آن نیست. از آنجا که Raydium AMM متنباز است، میتوانید این را از طریق کد منبع تأیید کنید: ... let amm_open_orders_info = ne...
چگونه میتوانم حساب را در فرانتاند Rust دیسریالایز کنم؟
مشکل نبودن #[max_len(32)] این است که حساب سریالایز شده شامل یک رشته است که با بایتهای 0 تا 32 بایت پر شده، در حالی که ساختار دیسریالایز کننده تلاش میکند فقط به اندازه طول واقعی رشته شما بایت دیسریالایز کند و سپس بایت...
بهترین روش احراز هویت Solana/Anchor برای یک سیستم ماژولار چندبرنامهای (نقشهای مشترک میان برنامهها، CPI)
مخزن به نظر خصوصی است: هر کدام از گزینهها مزایا و معایب خود را دارند، بنابراین میتوانید یک پیادهسازی ترکیبی برای کاهش ریسک ایجاد کنید. در ادامه برخی از برنامههای چندبرنامهای که میتوانید اتخاذ کنید آورده شده است: M...
خطای محدودیت Mut در Raydium
پس از کلی تقلا و جابهجایی بین ۱۰۰ مدل زبانی بزرگ، سرانجام مشکل را پیدا کردم. مشکل این بود که خود قراردادم انواع حساب ورودی را از یک IDL قدیمی Launchlab تولید میکرد، جایی که writable: true تنظیم نشده بود. من گمان میکرد...
کمک در نسخه جدید پینوکیو
پینوکیو در آخرین نسخه یا هیچ نسخهای توابع کمکی برای اعتبارسنجی این موارد ندارد. از آنجا که اشاره کردید این کار را برای بلوشیفت انجام میدهید، در آنجا نیز این موارد را بهصورت دستی پیادهسازی میکنند.
InstructionFallbackNotFound. شماره خطا: 101. پیام خطا: توابع بازگشتی پشتیبانی نمیشوند
شما باید discriminator دستورالعمل را به دادههای تراکنش خود اضافه کنید، همانطور که Ademola اشاره کرده است. کاری که میتوانید انجام دهید این است که discriminator دستورالعمل را واکشی کنید و سپس آن را در ۸ بایت اول به داده...
آیا زنجیرههای ۲۶ تراکنش تأییدنشده توسط کیف پول در Bitcoin Core 31.0 ممنوع شدهاند؟
میتوانید زنجیرهای طولانیتر از ۲۵ تراکنش تأییدنشده در mempool داشته باشید، اما کیف پول همچنان محدودیت زنجیره ۲۵ تراکنشی را اعمال میکند. از اجرای bitcoind -help-debug: ... -limitdescendantcount= تنظیم منسوخشده برای...
INIT_CODE_HASH چیست و چگونه در قراردادهای هوشمند دیفای محاسبه / استفاده میشود؟
هش کد Init اساساً هش keccak256 از بایتکد قرارداد است. کاربرد کد Init هش کد Init مورد نیاز است «زیرا محاسبه آدرس به هش کردن کد init بستگی دارد. کد init کدی است که هنگام اجرا، بایتکد زمان اجرا را تولید میکند که در stat...
چرا نقدینگی متمرکز از نظر سرمایه کارآمد است؟
نقدینگی متمرکز از نظر سرمایه کارآمدتر است زیرا با افزایش تمرکز، همان مقدار توکن سرمایهگذاریشده عمق نقدینگی بیشتری ایجاد میکند. از وبلاگ یونیسواپ: با متمرکز کردن نقدینگی، تأمینکنندگان نقدینگی میتوانند همان عمق نقدی...
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...