token-core
token-core copied to clipboard
Next generation core inside imToken Wallet.
fix keystore_common_exists interface bug
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: archive member /Users/andrew/token-core/target/x86_64-apple-ios/release/libtcx.a(aesni-x86_64-macosx.o) cputype (16777228) and cpusubtype (0) does not match previous archive members cputype (16777223) and cpusubtype (3) (all members must match) [ERROR cargo_lipo] Executing "lipo"...
"How to build"里面没有更新 **Run tools/ios-token-v2-build.sh. Set the right DIR in tools/ios-token-v2-build.sh. After running this shell, the lib files will be compiled and copied to the directory you set before.** 已经没有这个脚本了...
还在维护吗?
想了解下这个库还在维护吗?
i already follow the instructiion of https://github.com/consenlabs/token-core/tree/dev/examples/RN, but when i click "create" button in RN EXAMPLE,there is some error in logs like [TypeError: null is not an object (evaluating 'TcxAPI.callTcxApi')]...
the interface is "pub(crate) fn sign_tezos_tx_raw(param: &SignParam, keystore: &mut Keystore) -> Result". I do not know the usage of "TezosRawTxIn" structure. in fact there is no declaration of this structure...
在Android例子中调用的call_tcx_api,传入的hex编码: 0a0f68645f73746f72655f63726561746512230a07696d746f6b656e12180a11496e7365637572652050613535773072641a03616161 转换成string是: hd_store_create# imtoken Insecure Pa55w0rdaaa 程序没有问题,但是这个格式为什么是这样的?而且我自己写的转为hex编码格式函数程序会闪退,我要用什么方法才能转为例子的格式?希望得到一个回复。 编译环境:ubuntu18
在Android的示例中,MainActivity中, 调用TokenCore.INSTANCE.init_token_core_x(jsonObject.toString()); 报以下错误: java.lang.UnsatisfiedLinkError: Error looking up function 'init_token_core_x': undefined symbol: init_token_core_x 注释此行代码,app能正常运行,点击按钮无报错,说明TokenCore.INSTANCE.call_tcx_api和TokenCore.INSTANCE.get_last_err_message都能找到对应方法。就唯独TokenCore.INSTANCE.init_token_core_x会报错。 编译环境:Mac OS 11.1 NDK: 21.0.6113669