የእውቀት ዴስክ
ጥያቄዎች እና መልሶች
ዲጂታል ንብረቶችን፣ የንግድ ሥርዓቶችን እና የደህንነት መሠረታዊ ነገሮችን ለመረዳት በተወሰነ ጥያቄ ይጀምሩ።
የጥያቄ ቤተ መጻሕፍት24 ውጤቶች
01technologyከፕሮግራምዎ ላይ ለውጦችን ካደረጉ፣ የፕሮግራም መጠንዎን ማራዘም ያስፈልግዎታል። ይህ ከCLI ስሪት 1.18 > ጀምሮ ይቻላል ይህንን ለማስተካከል ይህንን ያሂዱ solana program extend PROGRAM_ADDRESS_HERE 20000 -u d -k ~/.config/solana/id.json ከላይ ያለው…
መልስ ያንብቡ02technologyአዎ የ amm_target_orders አካውንት አስተያየት ተሰጥቶበታል ስለዚህ የ swap_base_out መመሪያን ለመጥራት አያስፈልግም። የ Raydium AMM ክፍት ምንጭ ስለሆነ ይህንን በምንጭ ኮድ ማረጋገጥ ይችላሉ፡ ... let amm_open_orders_info = next_account_info(acc…
መልስ ያንብቡ03technologyየጠፋው #[max_len(32)] ችግር የተከሰተው የተለወጠው መለያ በ0 ባይት ተሞልቶ 32 ባይት የሆነ ሕብረቁምፊ ስለሚይዝ ነው፣ ነገር ግን መልሶ የሚቀይረው አሰራር ሕብረቁምፊዎ በትክክል ያለውን ያህል ባይት ብቻ ለመቀየር ስለሚሞክር ቀሪዎቹ 0 ባይቶች የሚከተሉትን መስኮች ለመቀየር ችግር ይፈጥራሉ። …
መልስ ያንብቡ04technologyRepo የግል ይመስላል፦ እያንዳንዱ አማራጭ የራሱ ጥቅሞችና ጉዳቶች አሉት፣ ስለዚህ ለመቀነስ ድብልቅ አተገባበር መፍጠር ይችላሉ፣ መቀበል የሚችሏቸው አንዳንድ የባለብዙ ፕሮግራም አፕሊኬሽኖች የሚከተሉት ናቸው፦ Marinade Finance፦ ነጠላ አስኳል ፕሮግራም + ለተወሰኑ ጎራዎች ሳተላይት ፕሮግራሞች…
መልስ ያንብቡ05technologyበብዙ መታገል እና በ100 LLMዎች መካከል ከተለዋወጥኩ በኋላ፣ በመጨረሻ ችግሩን አገኘሁ። ችግሩ የእኔ ኮንትራት ራሱ ከLaunchlab ጊዜ ያለፈበት IDL የግቤት አካውንት ዓይነቶችን በማመንጨት ላይ ነበር፣ በዚህ ውስጥ writable: true አልተቀመጠም። እኔ ይህ ጉዳይ አይመስለኝም ብዬ ግምት ው…
መልስ ያንብቡ06technologyፒኖኪዮ በአዲሱ ስሪት ወይም በማንኛውም ስሪት እነዚህን ለማረጋገጥ ረዳት ተግባራት የለውም። ይህን ለብሉሺፍት እያደረግክ እንደሆነ ስለጠቀስክ፣ እዚያም እነዚህን በእጅ ይተገብራሉ።
መልስ ያንብቡ07technologyእንደ Ademola እንደገለጸው የግብይትህን ዳታ የ instruction discriminator ማቅረብ አለብህ። ማድረግ የምትችለው instruction discriminator ን ማምጣት ነው ከዚያም በመጀመሪያዎቹ 8 bytes ውስጥ ከዳታህ ጋር አያዝው። በ Rust Instruction Discriminator…
መልስ ያንብቡ08technologyበሜምፑል ውስጥ ከ25 ያልተረጋገጡ ግብይቶች የሚበልጥ ሰንሰለት ሊኖርዎት ይችላል፣ ነገር ግን ዋሌቱ አሁንም የ25 ግብይት ሰንሰለት ገደብን ያስፈጽማል። bitcoind -help-debug ን ከማስኬድ፡ ... -limitdescendantcount= ማንኛውም ቅድመ አያት ወይም ከዚያ በላይ በሜምፑል ውስጥ ያ…
መልስ ያንብቡ09defiየ Init code hash በመሠረቱ የኮንትራቶች ባይትኮድ keccak256 ሃሽ ነው። የ Init Code አጠቃቀም Init code hash ያስፈልጋል "የአድራሻ ስሌት የ init code ሃሽን ስለሚወስን። Init code የሚፈጽምበት ጊዜ ወደ state የሚገባውን runtime bytecode የሚያመነጭ …
መልስ ያንብቡ10defiየተጠናከረ ፈሳሽነት የበለጠ የካፒታል ቅልጥፍና ያለው ነው ምክንያቱም በተጨመረው ትኩረት፣ ተመሳሳይ መጠን ያለው ቶከን ሲዋሽ የበለጠ ጥልቀት ያለው ፈሳሽነት ይፈጥራል። ከ Uniswap ብሎግ፡ ፈሳሽነታቸውን በማጠናከር፣ ኤልፒዎች በተወሰኑ የዋጋ ክልሎች ውስጥ ከ v2 ጋር ተመሳሳይ የፈሳሽነት ጥልቀት ማ…
መልስ ያንብቡ11defiThe 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:
መልስ ያንብቡ12defiDecentralized Finance (DeFi) is the movement that leverages decentralized networks to transform old financial products into trustless and transparent protocols that run without intermediarie…
መልስ ያንብቡ13tradingOne 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…
መልስ ያንብቡ14securityNothing. 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) f…
መልስ ያንብቡ15securityThe 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 u…
መልስ ያንብቡ16securityWhat 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 publ…
መልስ ያንብቡ17securityNo, 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 invo…
መልስ ያንብቡ18securityFor 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 usin…
መልስ ያንብቡ19securityInformation 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 …
መልስ ያንብቡ20securityRegardless 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 usin…
መልስ ያንብቡ