id:BSN_2021
Official account: BSN Institute
On January 25, 2022, the blockchain Service Network Development Alliance launched the “bsn-ddc basic network” and entered the trial commercial stage. At the same time, the bsn-ddc official website portal (ddc.bsnbase.com) was launched for ddc/nft business parties to apply for the registration of “platform parties”.
Up to now, the bsn-ddc basic network has been online for more than a month. Developers have also raised many problems in the process of using it. The following are the frequently asked questions (FAQs) summarized by BSN technical support personnel.
Q: why is the transaction status 0x0 when DDC is generated using Wuhan chain ddc-sdk?
A: check the gaslimit setting. It may be that the gaslimit setting is too low. In this case, increase or do not set the gaslimit.
Q: what is the ddcpubtotal field in 1155ddc details? Will this field change after the transfer?
A: the ddcpuptotal field in the 1155ddc details is the total quantity discovered by the 1155ddc. This quantity will not change.
Q: what are the fees for generating DDC using official DDC contracts?
A: when the official DDC is used to generate DDC, the sender account should pay the energy consumed in this transaction (about 5 cents) and the DDC business fee (1 yuan for generation and 3 cents for transfer and destruction)
Q: what is the reason for “failed to check sender balance: sender balance” when using the Wenchang chain ddc-sdk for mint?
Answer:
1. The energy value of sender is insufficient or the balance of energy value of sender is less than gaslimit.
2. When the energy value and gaslimit are OK, check whether the algorithm of the downlink account is K1.
Q: can ddchuri be modified or under what circumstances can setddcuri be used?
A: if the owner’s ddchuri is empty when the DDC is generated for the first time, the owner can use the setddcuri method to assign the ddchuri after the DDC is generated. If the ddchuri already has a value, it cannot be modified.
Q: why is the transaction status 0x0 when using Wenchang chain ddc-sdk to generate DDC?
Answer:
1. Check the account status of sender and to and whether they are enabled
2. Check whether the sender has enough business fees
3. Check whether the gaslimit setting is too small, and increase the gaslimit
Q: why does the portal display 0 after the DDC service charge is recharged with OpenAPI?
Answer: the service fee, energy value and DDC of the portal are not displayed in real time. They are synchronized from the chain to the offline and queued up regularly to update. It is recommended that users use OpenAPI to create a chain account to open the official DDC, access the official DDC, recharge the service fee, and directly call the methods in the ddc-sdk to confirm the results on the chain after the account status is changed.
Q: after mint, how to judge the success of the transaction?
A: in addition to China Mobile, the transaction status in the transaction data is obtained according to the transaction hash, and whether the transaction is successful is judged according to the transaction status (success when the status of Wenchang chain and Wuhan chain is 0x1, and success when the status of Tai’an chain is 0x0). China Mobile Chain calls getinfo method to view head_ block_ Whether num is greater than the block height returned after mint. If num is greater than, it indicates that the uplink is successful.
Q: is the name of the DDC portal chain account repeatable and modifiable?
A: Currently, the chain account name cannot be duplicated or modified under the same account.
Q: how to obtain ddcid after mint?
Answer: call blockeventservice according to the block number of the transaction The getblockevent method checks the events in this block. For example, ddcid exists in ddc721transfereventbean.
Q: what is the difference between DDC authorization and account authorization?
A: DDC authorization means that the user authorizes a DDC under his name to a third party. Account authorization means that the user authorizes all DDCS under his name to a third party. DDC authorization will become invalid after the DDC is transferred. Account authorization will become invalid only after the authorization is cancelled.
Q: what is the difference between staging and secure staging (build and secure build)?
Answer: please refer to this article for the difference between transfer and security transfer (generation and security generation)
https://www.jianshu.com/p/2fe…。
Q: what is the reason for using the Wuhan chain ddc-sdk “already known”?
A: the reason is that the interface is frequently called for transactions, and the nonce value is repeated. The solution is to set the nonce value after a certain period of time for each transaction or each transaction submission, such as requestoptions requestoptions = requestoptions builder()
.setNonce(2)
.build();
Q: what is the reason for using the Wuhan chain DDC SDK to report “nonce too low”?
Answer:
1. Whether the privatekey set in the transactionsignature is the privatekey of the sender
2. The nonce value is repeated. Set the nonce value in options for each transaction, such as requestoptions requestoptions = requestoptions builder()
.setNonce(2)
.build();