fireblocks / android-ncw-demo Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello Fireblocks Team
I started implementing ncw in Android
Successfully initlized SDK but when I tried to get Instance the method show Unresolved
private lateinit var fireblocksSdk : Fireblocks
private lateinit var deviceId : String
private lateinit var fireblocksOptions : FireblocksOptions
private lateinit var fireblocksMessageHandler: FireblocksMessageHandlerImpl
private lateinit var fireblocksKeyStorage : FireblocksKeyStorageImpl
private fun initilizeFireblockSDK() {
fireblocksSdk = Fireblocks.initialize(
context = applicationContext,
deviceId = deviceId,
messageHandler = fireblocksMessageHandler,
keyStorage = fireblocksKeyStorage,
fireblocksOptions = fireblocksOptions,
)
var status = fireblocksSdk.getCurrentStatus() // show Status(deviceStatus=INITIALIZED, error=null)
}
private fun getInstance() {
Log.d("deviceId","==== run getInstance ")
var instance = fireblocksSdk.getInstance(deviceId);
}
I also tried
Fireblocks.getInstance(deviceId).generateMPCKeys(algorithms = setOf(Algorithm.MPC_ECDSA_SECP256K1))
got run time exception
java.lang.NoSuchMethodError: No static method generateMPCKeys$default(Lcom/fireblocks/sdk/Fireblocks;Ljava/util/Set;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V in class Lcom/fireblocks/sdk/Fireblocks; or its super classes (declaration of 'com.fireblocks.sdk.Fireblocks' appears in /data/app/~~6ZfcT_gQCn0faXOX7_1mHQ==/com.example.fireblockapp-VmBJwTeifZr66zztqB81ug==/base.apk)
at com.example.fireblockapp.MainActivity.generateMPCKeys(MainActivity.kt:79)
I am using "com.fireblocks.sdk:ncw:1.0.91" dependency
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.