tutorials blockchain

Step into the Decentralized Blockchain Future with Samsung Blockchain Ecosystem

writer img alt

Shuvo Saha

Engineer, Samsung Developer Program

SDKs for Blockchain Developers

At Samsung, we understand that one size does not fit all of your development needs. That’s why we offer two different SDKs to cover your blockchain development needs: Samsung Blockchain Platform (SBP) SDK and Samsung Blockchain Keystore (SBK) SDK. The SBP SDK aims to be an overall solution for your DApp’s every need, from connecting to supported hardware wallets to uploading transactions in the supported Blockchain networks. On the other hand, the SBK SDK allows you to securely access the Samsung Blockchain Keystore cold wallet and supports signing transactions of a wide range of cryptocurrencies.

Samsung Blockchain Platform SDK

The Samsung Blockchain Platform SDK offers a full set of functions for your Decentralized App (DApp) or Blockchain App needs. It helps you manage blockchain accounts easily and make a transaction easier by using abstracted transfer APIs. Additionally, the SBP SDK offers a UI-based cryptocurrency payment solution for even more rapid development.

The Samsung Blockchain Platform SDK can easily connect your DApp to different hardware wallets for securely signing transactions. Currently, three hardware wallets are supported: Samsung Blockchain Keystore, Ledger Nano X, and Ledger Nano S. Once successfully connected to a hardware wallet, the SBP SDK offers abstracted APIs, so you never have to worry about what hardware wallet to which the user is connected.

The SBP SDK also has a blockchain browser solution for your web DApp. With the SBP SDK’s Cucumber Webview, you can migrate your web-based DApp into the mobile environment with little to no changes in your web app. This can help you drastically reduce development time and resources, and to reach millions of new Galaxy devices.

With the SBP SDK’s Payment Sheet UI, developing a native Android DApp has never been easier. Simply launch the desired Payment Sheet Intent and let the SDK take care of the rest of your DApp’s payment or transfer flows.

The SBP SDK currently supports two major Blockchain networks: Ethereum and TRON. With the SBP SDK’s abstracted APIs for cryptocurrency and token transfers, you never have to worry about complex details. The SBP automatically estimates transaction fees and handles code for underlying smart contract function ABIs for token transfer. You can simply plug in your JSON-RPC endpoint/node to the SBP and develop your DApp faster.

You can check out all of the aforementioned APIs (and more) in action, on the Aero Wallet sample application for the SBP SDK. Using Aero Wallet’s source code, you can learn how to easily build a fully functional cryptocurrency wallet application from scratch. To learn more about how the SBP SDK can greatly simplify your DApp development, check out the SDK Overview.

Samsung Blockchain Keystore SDK

The Samsung Blockchain Keystore, powered by the Knox Security Platform, is a built-in secure cold wallet available on a wide range of Galaxy devices. The Samsung Blockchain Keystore SDK allows your Android apps and DApps to communicate directly with this highly secure cold wallet for fetching address lists and public keys and signing cryptocurrency transactions.

With the SBK SDK, your DApp can fetch the user’s blockchain address and link it to the user’s account. Using this address, you can query on the blockchain network (using a blockchain explorer or another library such as SBP) to find the user’s account balance and transaction history.

Furthermore, you can use the SBK SDK to request the Keystore app to sign a cryptocurrency transaction. The Keystore app then shows the requested transaction to the user inside a Trusted User Interface (TUI), executed within the Trusted Execution Environment (TEE). Once the user approves the transaction with a PIN or a biometric authentication like a fingerprint, the Keystore app signs the transaction with the associated private key and returns it to you through the SBK SDK.

To learn more about how you can integrate the SBK SDK into your app, check out the SDK overview.

Choosing the right SDK for your Dapp

Both of the Samsung Blockchain SDKs can help make your DApp more feature-rich and cut down development time and effort. If you are still confused about which SDK is best for your DApp, check out our brief comparison below.

API Samsung Blockchain Platform SDK Samsung Blockchain Keystore SDK
Fetch Public Address Supported Supported
Sign Transaction Supported Supported
Send Transaction Supported Unsupported
Send Token Transaction Supported Unsupported
Built-in Payment Screen UI Supported Unsupported
Seamless Integration with WebApps Supported Unsupported
External Hardware Wallet Supported Unsupported
Blockchain Networks Supported (at the time of writing) Ethereum and Tron Bitcoin, Ethereum, Klaytn, Stellar and Tron

Services for End-Users

Samsung Blockchain Apps and services aim to provide you with a secure and convenient experience in the blockchain world. Samsung currently offers two applications under its blockchain platform: the Samsung Blockchain Keystore app and the Samsung Blockchain Wallet app. You can find out more about each of these offerings from this article and from the global Samsung site.

Samsung Blockchain Keystore

Samsung Blockchain Keystore offers defense-grade, vault-like security for your crypto assets. The Blockchain Keystore app runs within the TEE of the Knox Platform. This allows the Samsung Blockchain Keystore to provide security unlike ever before, as the private key and information located in the Samsung Blockchain Keystore are never saved to a Samsung or an external cloud, nor is it seen by the devices’ Android OS.

You can easily set up the Keystore app by importing your existing account by using a 12-word mnemonic, or create an entirely new one.

Samsung Blockchain Wallet

The Samsung Blockchain Wallet app allows you to conveniently send and receive major cryptocurrencies such as Bitcoin and Ether. Not only does the Samsung Blockchain Wallet app support the built-in Samsung Blockchain Keystore wallet, it also supports external physical wallets such as Ledger Nano S and Nano X, using USB.

Beyond sending and receiving crypto assets, you can also explore partner DApps through the Blockchain Wallet App. Partner DApps on the Samsung Blockchain Wallet app unlock the door to a wide range of experiences such as cryptocurrency exchanges, staking pools, and NFT marketplaces. Furthermore, you can stay on top of the latest trends and ongoing events in the blockchain world with the Samsung Blockchain Wallet’s News section.

Conclusion

Blockchain technology has the potential to revolutionize many aspects of our lives. With Samsung Blockchain SDKs and applications, you and your DApp users can always stay at the forefront of this technology. We want to continuously improve your experience in the blockchain world. Feel free to share your thoughts with us and with the global blockchain developer community on the Samsung Blockchain Developer forum.