The Nervos community releases new development tools for BSN integration Nervos Network – Medium

On August 10th, the Blockchain Services Network BSN successfully integrated Nervos. Now Nervos developers will be able to build dApps through BSN overseas data centers and run nodes, as well as access the enterprise chain and financial data.

Recently, Nervos community members released a development tool called bsn-proxy which can directly connect to the BSN and supports the conversion of BSN services into a Nervos node RPC compatible format. In this case, BSN could be used as Nervos Infura. When users run applications such as Nervos wallet, they can use BSN resources directly by opening a BSN account instead of setting up a node by themselves.

Next, let’s take a look at how to use BSN to run CKB nodes and provide services for Neuron wallet.

How to use BSN to run CKB nodes and provide services for Neuron

1. Log on to the official BSN Global website (, complete the registration and login, and then enter into the BSN console interface.

2. Select “Permissionless Services”, and then we can see all the server options. Currently, there are three nodes to choose from: Hong Kong, California, and Paris. These nodes support the operation of the Nervos mainnet and test network. For this example, we’ll choose California Node.. Of course, you can also choose the other two nodes, as well. Click “Buy”, enter the purchase page, select the free version on the left, and click “Select”.

3. In this example, BSN has assigned us a server deployed in California and lets us configure the blockchain services we need. Click”Create New Project”, fill in the project name, choose to run Nervos Mainnet, and complete the creation.

4. Now we have successfully created a Nervos mainnet node, and we will get the project ID, project password Key, and two links to request services.

5. OK, let us deal with some things locally. We want to use the node service provided by BSN to run the local Neuron wallet. Now let’s start the preparation. First of all, check the computer for installation A Python 3 (, then download the necessary code library ( BSN-Proxy-nervos).

Let’s open the local terminal. Here we’ll use PowerShell, but of course, you can also choose your preferredterminal tools. Let’s enter the path where the code base is located.

Next, we need to start the BSN RPC request locally, and enter the following example in the terminal (the Hong Kong node is used in the example):

$ python3 ./ — bsn-url ‘<your-app-id>/Nervos-Mainnet/rpc' — api-key ‘<your-api-key>’

The most important thing is to replace the content in two of the single quotation marks. The first quotation mark contains the content of the “https request” part of Access Address, and the latter quotation mark contains the Project Key. See the two red boxes in the figure below.

After entering the command, click Enter. Now that we have successfully completed the RPC request to the BSN node locally. bsn-proxy will open a local service rpc HTTP: // localhost: 8114 .

6. Finally, we can start working on the Neuron wallet.We can see that the Neuron wallet is syncing blocks…

In this example, we have successfully used the CKB node service provided by BSN to run our Neuron wallet!

7. Finally, we can also verify whether our Neuron is really using the BSN node service. When we click on “Help,” “Settings,” and “Network”, we can see that we are currently using the local node service on port 8114.

When we close the running terminal interface — that is, close the RPC request to the BSN — then we see that the block synchronization process for Neuron has stopped. This means that it is indeed the CKB node provided by BSN that just provided the full node data for Neuron.

For dApp developers, BSN is more cost-effective and stable than other networks. Through BSN proxy, blockchain developers can use Nervos’ blockchain services more conveniently, deploy smart contracts and dApps on a highly scalable public network, and implement blockchain services on a global scale.

In the future, through BSN’s bridging service, consortium chain developers can also easily access the assets and information of the public chain or other consortium chains through Nervos. We welcome more developers to jointhe Nervos ecosystem to create and experience ecological applications together.

To stay updated on all things Nervos:

Join our community: Discord — Github — Nervos Talk Forum — Twitter

For discussions or questions join the conversation on Discord or check out one of our community Telegram channels: English, Korean, Russian, Japanese, Spanish, Vietnamese and Chinese

The Nervos community releases new development tools for BSN integration was originally published in Nervos Network on Medium, where people are continuing the conversation by highlighting and responding to this story.

—Source link—

What do you think?

The Three Comma Club – The Daily Gwei #59 The Daily Gwei

Smart Contract Security Newsletter #44 ConsenSys Diligence – Medium