鏈
開發人員
生態系
社群
With the recent partnership between Binance Smart Chain and Arkane, we are extremely excited to share how DAPPS can easily create BSC wallets and onboard mainstream users to their products and services running on the Binance Smart Chain. This article specifically focuses on the integration of Arkane’s Widget to further enable developers and businesses to start building with blockchain technology.
Arkane allows you to easily integrate your app with Binance Smart Chain, whether you already have an app integrated with web3 or are building a new application from scratch. Arkane provides a smooth and delightful experience for you, your users on both web and mobile.
Their products will not only help you to interact with Binance Smart Chain but also create wallets, create different asset types such as fungible (BEP20), and non-fungible tokens (BEP721, and BEP1155) and interact with Binance Smart Chain contracts. Next to a superior developer experience, Arkane can give your users a user-friendly interface.
If you already support Web3-technology, you can improve the UX within your application by integrating the Arkane Web3 provider, a smart wrapper around the existing Web3 Ethereum JavaScript API.
By making use of our Web3 provider you are able to leverage the full potential of Arkane with minimal effort and you will be able to onboard users that are less tech-savvy without making them leave your application or download third-party plugins.
Integrating just takes 2 steps and 5 minutes
Install the library by downloading it to your project via NPM
npm i @arkane-network/web3-arkane-provider
followed by adding the script to the head of your page.
<script src="/node_modules/@arkane-network/web3-arkane-provider/dist/web3-arkane-provider.js"></script>
After adding the javascript file to your page, a global Arkane object is added to your window. This object is the gateway for creating the web3 wrapper and fully integrates the widget - Arkane Connect.
Add the following lines of code to your project, it will load the Arkane web3 provider.
Arkane.createArkaneProviderEngine({clientId: ‘Arketype’}).then(provider => {
web3 = new Web3(provider);
});
The web3 instance now works as if it was injected by parity or metamask. You can fetch wallets, sign transactions, and messages.
🧙 To connect to Arkane’s production environment and mainnet, you will need to register your app and request your Client ID.
Don't worry we've got you covered with our 📦 Widget - Arkane Connect, a javascript SDK specifically designed to perform common blockchain tasks. It is created as a way to perform tasks that are otherwise not possible due to security implications (e.g: creating signatures).
Arkane Widget wraps all of Arkane’s functionalities within a JavaScript layer in order to facilitate development.
Want to know more about the wonderful world Arkane has to offer, check out their documentation
If you’re interested in using Arkane to ease your development and user-onboarding experience, submit a request here for your free 30-minute consultation.