Setup

The following are needed to do the Code Lab activity:

  • At least Java SE Development Kit 8
  • Android Studio
  • Mobile Phone (Galaxy S10 series, Note 10 series) which supports Samsung Blockchain

Initial Setup

  1. The Developer Mode helps developers test the Samsung Blockchain Keystore. In Developer Mode, App ID verification is bypassed, so Samsung Blockchain Keystore APIs will be enabled. Developers can activate Developer Mode by following the steps below.

    a. Go to Samsung Blockchain Keystore Device > Settings > Biometrics and security > Samsung Blockchain Keystore

    b. General > About Blockchain Keystore

    c. Tap the Samsung Blockchain Keystore area quickly 10 times or more

    d. If succeeded, (Developer Mode) will be shown before the version and it means Developer Mode has been activated

    e. Now you can test your app with Samsung Blockchain Keystore

    Please note that only a limited number of devices can be activated for one test app.

  2. Open the given Android application project


Sample Code

Here is a sample code for you to start coding this activity. Feel free to download them and start your learning experience!

Keystore SDK Sample Code1.03 MB