Experience A Smooth Blockchain Application Development Process On Bityuan (BTY) Public Chain Through BSN Global
By: Bityuan, Bty
Tags: Bsn, Parachain, Blockchain, Development, Infrastructure

The Bityuan (BTY) public chain has officially completed the access to Blockchain-based Service Network (BSN) International. First, with the aid of the BSN international platform, it can provide a new low-threshold and easy-to-access development environment for developers, leading the outbreak of applications developed on the Bityuan (BTY) public chain ecosystem. Second, with its efficient performance and stable cross-chain technology, Bityuan (BTY) adds the BSN platform with multiple blockchain services. This cooperation is also the beginning of a win-win situation for both parties. Bityuan team will further strengthen the cooperation with BSN International in the future.

Here is a quick guide for developers to implement blockchain applications on the BSN International.

Step 1: Register and sign in

Go to the BSN Global official website, bsnbase.io, and you need to complete the registration at first.

When you fill in all the blanks, you click “Confirm”. You will receive an activation email, then you set a password, and log in to BSN Global.

Step 2: Select node and Bityuan (BTY) network, create your application authority certificate

After entering the main page, click “Permissionless Services” to create your public chain service.

I choose Hong Kong of “City Nodes” and BitYuan-Mainnet of “Framework Name” as examples here. Other choices of City Nodes include California and Paris.

Then you need to choose the plan that is proper to your demands, I choose “Free Plan” as a demonstration here. Next, click “Create New Project” and fill in “Project Name”, “Choose the Chain”, and “Daily Requests”.

When a project is created, the system will generate an RPC Access Address and a Project Key. This information is used for the interaction between the applications and the Bityuan (BTY) mainnet, and the management of application permissions. Therefore, it’s important for blockchain application developers.

Once you complete the steps above, it means that you already have a stable node for development. Compared with the traditional Bityuan (BTY) node maintained by a developer himself, the BSN node makes the deployment and maintenance more efficient, greatly reducing the cost and difficulty.

Step 3: Request to call the node and complete the node interaction

In this step, a third-party interface tool “Postman” will be used to realize the request interaction between the application developments and mainnet nodes.

The Postman tool link is https://www.postman.com/downloads/

After you register and log in to Postman, click the “+” sign.

Then you copy the “Access Address” created on BSN and paste it to the address bar on the Postman page.

Then you click the “Headers” subpage and enter “x-api-key” in the column labeled “KEY”.

Then you go back to the BSN page, copy the “Project Key” and paste it to the “VALUE” column. Please do not disclose your Project Key to others.

Next, you click “Body”, select “Raw”, change the request method to POST, and use JSON-RPC to call.

Before the certificate command is sent, you need to return to the BSN page to click the “Enable Key”.

Then return to the Postman page and enter the call command, which is available on the Bityuan Developer Platform https://chain.33.cn/. For example, the latest blockchain height can be obtained through command.

After the command is input to the Postman page, click “Send” to get the data.

In the end, the data is returned as shown above, and the block height is 11302802.

In conclusion, developers can take advantage of the BSN node to complete the deployment, development, and test of their applications on the public chain without deploying Bityuan nodes by themselves. It allows developers to focus on application development instead of spending extra time on node maintenance and operation.

For further discussion about developing applications on the Bityuan (BTY) public chain through BSN Global, you can join our Telegram group @Bityuan and follow @Bityuanofficial on Twitter.

More Info About Bityuan (BTY)

Markets：https://www.ztb.im/, https://www.lbank.info/, and zhaobi.site

Twitter：@Bityuanofficial

Official Website：https://www.bityuan.com/index

Telegram Group：@Bityuan

Blockchain Explorer：https://mainnet.bityuan.com/

Developers Platform：https://chain.33.cn/

Open Source Website：https://github.com/bityuan/bityuan

Whitepaper Link：https://bityuan.com/download/BityuanWhitePaper.pdf

Weibo：比特元BTY

WeChat Official Account：bityuangonglian