Develop Paper
  • Program
  • Server
  • Development Tool
  • Blockchain
  • Database
  • Artificial Intelligence
  • Blogs
Position: Home > Blockchain > Content

Ddc/nft development FAQs

Time:2022-6-13

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(); 
Tags: account, cost of operation, field, state, transaction

Recommended Today

Linux Basics (12) how does Xiaobai learn Linux? File permissions for permission management

Preface essay“In fact, you are only 3cm away from success”Everyone yearns for success in life, and successful experiences often have to go through a period of suffering, which is just the length of suffering. What’s more, some people survive, and some people fall down halfway. When you finish a project and a small goal in […]

  • FISCO bcos application case – launch of the first cross-border data verification platform in Guangdong, Hong Kong and Macao Greater Bay
  • Ensure the decentralization and availability of Oracle network
  • Consensus mechanism – one of the core technologies of blockchain
  • Homekit, Mijia and other smart homes are moving towards ecological construction, and zhiting has a strong development momentum
  • Key knowledge points of bsn-ddc basic network (IV) generation and management of DDC
  • Ensure that two different software are compatible when exchanging data
  • Is the threshold really so low for primary school students to play with blockchain development?
  • Bsn-ddc basic network introduction & Q & A
  • How much does NFT game development cost? How long will it take?
  • Blockchain school
Pre: Linux Basics (12) how does Xiaobai learn Linux? File permissions for permission management
No, it's the last article

    Tags

    address algorithm array assembly attribute Browser c Catalog Character string Client code command configuration file container data Database Definition Edition element Example file function java javascript Journal link linux Memory method Modular mysql node object page parameter php Plug-in unit project python Route source code The server Thread time user

    Recent Posts

    • Ddc/nft development FAQs
    • Linux Basics (12) how does Xiaobai learn Linux? File permissions for permission management
    • Install redis for Ubuntu
    • C++ STL deque iterator
    • The selector returned by ngrx store createselector performs single step debugging of fetching logic

    Recent Comments

    • A brave boy on Answer for How to turn off the logging function of springboot?
    • _ivenj on Answer for Why do I keep executing the render method of components after using react router Redux
    • The daily life of a bastard on Answer for Why do I keep executing the render method of components after using react router Redux
    • The daily life of a bastard on Answer for Why do I keep executing the render method of components after using react router Redux
    • _ivenj on Answer for Why do I keep executing the render method of components after using react router Redux

    Categories

    • .NET Core
    • Agile Development
    • Algorithm And Data Structure
    • Android
    • Apple MAC
    • Architecture Design
    • Artificial Intelligence
    • ASP.NET
    • Backend
    • Blockchain
    • C
    • C#
    • C++
    • Cloud
    • Database
    • Design Pattern
    • Development Tool
    • Embedded
    • Erlang
    • Freshman
    • Game
    • Golang
    • HTML/CSS
    • HTML5
    • Informal Essay
    • Information Security
    • IOS
    • Java
    • JavaScript
    • JSP
    • Linux
    • Lua
    • MongoDB
    • MsSql
    • MySql
    • Network Security
    • OOP
    • oracle
    • Other DB
    • Other Technologies
    • Other Technology
    • Perl
    • PHP
    • Program
    • Python
    • Redis
    • Regular Expression
    • Ruby
    • Rust
    • SAP
    • Server
    • Software Testing
    • Team Management
    • VBS
    • VUE
    • WEB Front End
    • Windows
    • XML/XSLT
  • java
  • php
  • python
  • linux
  • windows
  • android
  • ios
  • mysql
  • html
  • .net
  • github
  • node.js

Copyright © 2022 Develop Paper All Rights Reserved      Sitemap    About DevelopPaper    Privacy Policy    Contact Us