ਕ੍ਰਿਪਟੋ ਟਰੇਡਿੰਗ, ਵਾਲਿਟ ਅਤੇ ਬਲਾਕਚੇਨ ਗਿਆਨ ਸਵਾਲ-ਜਵਾਬ
ਕ੍ਰਿਪਟੋਕਰੰਸੀ ਟਰੇਡਿੰਗ, ਵਾਲਿਟ ਅਤੇ ਬਲਾਕਚੇਨ ਗਿਆਨ ਨੂੰ ਕਵਰ ਕਰਨ ਵਾਲੇ ਆਮ ਸਵਾਲ-ਜਵਾਬ, ਸੰਬੰਧਿਤ ਵਿਆਖਿਆਵਾਂ ਅਤੇ ਜਵਾਬ ਸਮੱਗਰੀ ਸਮੇਤ।
- 01
ਗਲਤੀ: ਪ੍ਰੋਗਰਾਮ ਤੈਨਾਤ ਕਰਨਾ ਅਸਫਲ ਰਿਹਾ ਲੈਣ-ਦੇਣ ਸਿਮੂਲੇਸ਼ਨ ਅਸਫਲ ਰਿਹਾ: ਹਦਾਇਤ 0 ਦੀ ਪ੍ਰਕਿਰਿਆ ਕਰਨ ਵਿੱਚ ਗਲਤੀ: ਹਦਾਇਤ ਲਈ ਖਾਤਾ ਡੇਟਾ ਬਹੁਤ ਛੋਟਾ ਹੈ [3 ਲੌਗ ਸੁਨੇਹੇ]
ਤੁਹਾਨੂੰ ਆਪਣੇ ਪ੍ਰੋਗਰਾਮ ਦਾ ਆਕਾਰ ਵਧਾਉਣ ਦੀ ਲੋੜ ਪਵੇਗੀ, ਜੇਕਰ ਤੁਸੀਂ ਇਸ ਵਿੱਚ ਤਬਦੀਲੀਆਂ ਕੀਤੀਆਂ ਹਨ। ਇਹ CLI ਵਰਜਨ 1.18 > ਤੋਂ ਸੰਭਵ ਹੈ ਇਸਨੂੰ ਠੀਕ ਕਰਨ ਲਈ ਇਹ ਚਲਾਓ solana program extend PROGRAM_ADDRE...
ਤਕਨਾਲੋਜੀ - 02
Raydium ਵੇਚਣ ਦੀਆਂ ਹਦਾਇਤਾਂ 'ਤੇ ਟਾਰਗਿਟ ਆਰਡਰ ਵਿਕਲਪਿਕ?
ਹਾਂ, amm_target_orders ਅਕਾਊਂਟ ਕਮੈਂਟ ਕੀਤਾ ਗਿਆ ਹੈ ਅਤੇ ਇਸ ਲਈ swap_base_out ਹਦਾਇਤ ਨੂੰ ਕਾਲ ਕਰਨ ਲਈ ਇਸਦੀ ਲੋੜ ਨਹੀਂ ਹੈ। ਕਿਉਂਕਿ Raydium AMM ਓਪਨ ਸੋਰਸ ਹੈ ਤੁਸੀਂ ਸੋਰਸ ਕੋਡ ਰਾਹੀਂ ਇਸਦੀ ਪੁਸ਼ਟੀ ਕਰ ਸਕ...
ਤਕਨਾਲੋਜੀ - 03
ਰਸਟ ਫਰੰਟਐਂਡ ਵਿੱਚ ਮੈਂ ਖਾਤੇ ਨੂੰ ਕਿਵੇਂ ਡੀਸੀਰੀਅਲਾਈਜ਼ ਕਰ ਸਕਦਾ ਹਾਂ?
#[max_len(32)] ਦੇ ਗੁੰਮ ਹੋਣ ਦਾ ਮਸਲਾ ਇਹ ਹੈ ਕਿ ਸੀਰੀਅਲਾਈਜ਼ ਕੀਤੇ ਖਾਤੇ ਵਿੱਚ ਇੱਕ ਸਟ੍ਰਿੰਗ ਹੁੰਦੀ ਹੈ ਜਿਸਨੂੰ 32 ਬਾਈਟ ਬਣਾਉਣ ਲਈ 0 ਬਾਈਟਾਂ ਨਾਲ ਪੈਡ ਕੀਤਾ ਜਾਂਦਾ ਹੈ, ਜਦੋਂ ਕਿ ਡੀਸੀਰੀਅਲਾਈਜ਼ ਕਰਨ ਵਾਲਾ ਸਟ੍...
ਤਕਨਾਲੋਜੀ - 04
Solana/Anchor ਪ੍ਰਮਾਣਿਕਤਾ ਲਈ ਸਭ ਤੋਂ ਵਧੀਆ ਅਭਿਆਸ ਇੱਕ ਮਾਡਿਊਲਰ ਮਲਟੀ-ਪ੍ਰੋਗਰਾਮ ਸਿਸਟਮ ਲਈ (ਪ੍ਰੋਗਰਾਮਾਂ ਵਿੱਚ ਸਾਂਝੀਆਂ ਭੂਮਿਕਾਵਾਂ, CPI)
ਰੈਪੋ ਪ੍ਰਾਈਵੇਟ ਲੱਗਦਾ ਹੈ: ਕਿਸੇ ਵੀ ਵਿਕਲਪ ਦੇ ਆਪਣੇ ਫਾਇਦੇ ਅਤੇ ਨੁਕਸਾਨ ਹੁੰਦੇ ਹਨ, ਇਸ ਲਈ ਤੁਸੀਂ ਘਟਾਉਣ ਲਈ ਇੱਕ ਹਾਈਬ੍ਰਿਡ ਲਾਗੂਕਰਨ ਬਣਾ ਸਕਦੇ ਹੋ, ਇੱਥੇ ਕੁਝ ਮਲਟੀ-ਪ੍ਰੋਗਰਾਮ ਐਪਲੀਕੇਸ਼ਨਾਂ ਹਨ ਜੋ ਤੁਸੀਂ ਅਪਣਾ...
ਤਕਨਾਲੋਜੀ - 05
Raydium 'ਤੇ Mut constraint error
ਬਹੁਤ ਸੰਘਰਸ਼ ਅਤੇ 100 LLMs ਵਿਚਕਾਰ ਬਦਲਣ ਤੋਂ ਬਾਅਦ, ਮੈਂ ਆਖਰਕਾਰ ਸਮੱਸਿਆ ਲੱਭ ਲਈ ਹੈ। ਸਮੱਸਿਆ ਇਹ ਸੀ ਕਿ ਮੇਰਾ ਕੰਟਰੈਕਟ ਆਪਣੇ ਆਪ Launchlab ਦੇ ਇੱਕ ਪੁਰਾਣੇ IDL ਤੋਂ ਇਨਪੁਟ ਅਕਾਊਂਟ ਕਿਸਮਾਂ ਪੈਦਾ ਕਰ ਰਿਹਾ ਸੀ...
ਤਕਨਾਲੋਜੀ - 06
ਨਵੇਂ ਵਰਜਨ ਦੇ ਪਿਨੋਚੀਓ ਵਿੱਚ ਮਦਦ ਕਰੋ
ਪਿਨੋਚੀਓ ਵਿੱਚ ਨਵੀਨਤਮ ਸੰਸਕਰਣ ਜਾਂ ਕਿਸੇ ਵੀ ਸੰਸਕਰਣ ਵਿੱਚ ਇਹਨਾਂ ਨੂੰ ਪ੍ਰਮਾਣਿਤ ਕਰਨ ਲਈ ਸਹਾਇਕ ਫੰਕਸ਼ਨ ਨਹੀਂ ਹਨ। ਕਿਉਂਕਿ ਤੁਸੀਂ ਜ਼ਿਕਰ ਕੀਤਾ ਕਿ ਤੁਸੀਂ ਇਹ ਬਲੂਸ਼ਿਫਟ ਲਈ ਕਰ ਰਹੇ ਹੋ, ਉੱਥੇ ਵੀ ਉਹ ਇਹਨਾਂ ਨੂੰ ਹ...
ਤਕਨਾਲੋਜੀ - 07
InstructionFallbackNotFound। ਗਲਤੀ ਨੰਬਰ: 101। ਗਲਤੀ ਸੁਨੇਹਾ: ਫਾਲਬੈਕ ਫੰਕਸ਼ਨਾਂ ਦਾ ਸਮਰਥਨ ਨਹੀਂ ਹੈ
ਤੁਹਾਨੂੰ ਆਪਣੇ ਟ੍ਰਾਂਜ਼ੈਕਸ਼ਨ ਦੇ ਡੇਟਾ ਨੂੰ ਇੰਸਟ੍ਰਕਸ਼ਨ ਡਿਸਕ੍ਰਿਮਿਨੇਟਰ ਦੇਣਾ ਪਵੇਗਾ, ਜਿਵੇਂ ਕਿ Ademola ਨੇ ਜ਼ਿਕਰ ਕੀਤਾ ਹੈ। ਤੁਸੀਂ ਇਹ ਕਰ ਸਕਦੇ ਹੋ ਕਿ ਇੰਸਟ੍ਰਕਸ਼ਨ ਡਿਸਕ੍ਰਿਮਿਨੇਟਰ ਫੈਚ ਕਰੋ ਅਤੇ ਫਿਰ ਇਸਨੂੰ...
ਤਕਨਾਲੋਜੀ - 08
ਕੀ ਬਿਟਕੋਇਨ ਕੋਰ 31.0 ਵਿੱਚ ਵਾਲਿਟ ਦੁਆਰਾ 26 ਗੈਰ-ਪੁਸ਼ਟੀ ਕੀਤੇ ਲੈਣ-ਦੇਣ ਦੀਆਂ ਚੇਨਾਂ ਨੂੰ ਮਨ੍ਹਾ ਕੀਤਾ ਗਿਆ ਹੈ?
ਤੁਸੀਂ ਮੈਮਪੂਲ ਵਿੱਚ 25 ਤੋਂ ਵੱਧ ਗੈਰ-ਪੁਸ਼ਟੀ ਕੀਤੇ ਲੈਣ-ਦੇਣ ਦੀ ਚੇਨ ਰੱਖ ਸਕਦੇ ਹੋ, ਪਰ ਵਾਲਿਟ ਅਜੇ ਵੀ 25 ਲੈਣ-ਦੇਣ ਚੇਨ ਦੀ ਸੀਮਾ ਲਾਗੂ ਕਰਦਾ ਹੈ। bitcoind -help-debug ਚਲਾਉਣ ਤੋਂ: ... -limitdescendantc...
ਤਕਨਾਲੋਜੀ - 09
INIT_CODE_HASH ਕੀ ਹੈ ਅਤੇ ਇਹ DeFi ਸਮਾਰਟ ਕੰਟਰੈਕਟਾਂ ਵਿੱਚ ਕਿਵੇਂ ਗਿਣਿਆ ਜਾਂ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ
Init code hash ਮੂਲ ਰੂਪ ਵਿੱਚ ਕੰਟਰੈਕਟ ਦੇ ਬਾਈਟਕੋਡ ਦਾ keccak256 ਹੈਸ਼ ਹੁੰਦਾ ਹੈ। Init Code ਦੀ ਵਰਤੋਂ Init code hash ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ "ਕਿਉਂਕਿ ਐਡਰੈੱਸ ਗਣਨਾ init code ਨੂੰ ਹੈਸ਼ ਕਰਨ 'ਤੇ ਨਿਰਭਰ ਕ...
DeFi - 10
ਕੇਂਦਰਿਤ ਤਰਲਤਾ ਪੂੰਜੀ ਕੁਸ਼ਲ ਕਿਉਂ ਹੈ?
ਕੇਂਦਰਿਤ ਤਰਲਤਾ ਵਧੇਰੇ ਪੂੰਜੀ ਕੁਸ਼ਲ ਹੈ ਕਿਉਂਕਿ ਵਧੇਰੇ ਕੇਂਦਰੀਕਰਨ ਨਾਲ, ਨਿਵੇਸ਼ ਕੀਤੇ ਟੋਕਨਾਂ ਦੀ ਸਮਾਨ ਮਾਤਰਾ ਤਰਲਤਾ ਦੀ ਵਧੇਰੇ ਡੂੰਘਾਈ ਪੈਦਾ ਕਰਦੀ ਹੈ। Uniswap ਦੇ ਬਲੌਗ ਤੋਂ: ਆਪਣੀ ਤਰਲਤਾ ਨੂੰ ਕੇਂਦਰਿਤ ਕਰਕ...
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...
ਵਪਾਰ ਅਤੇ ਬਾਜ਼ਾਰ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ - 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...
ਸੁਰੱਖਿਆ ਅਤੇ ਜੋਖਮ