blockset-corp / walletkit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
We experienced a crash with WalletKit SDK, using older version of master 7d65484:
Fatal Exception: java.lang.UnsatisfiedLinkError
Unable to load library 'corecrypto': dlopen failed: library "libcorecrypto.so" not found dlopen failed: library "libcorecrypto.so" not found dlopen failed: library "/data/app/~~IOgLs8JXtpFjr1pmHl6F0A==/net.globalid-G5uWj_YYp83ALluBjjceGA==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libcorecrypto.so" not found Native library (android-aarch64/libcorecrypto.so) not found in resource path (.)
Stacktrace:
com.sun.jna.NativeLibrary.loadLibrary (NativeLibrary.java:301)
com.sun.jna.NativeLibrary.getInstance (NativeLibrary.java:461)
com.sun.jna.NativeLibrary.getInstance (NativeLibrary.java:403)
com.breadwallet.corenative.CryptoLibrary.<clinit> (CryptoLibrary.java:30)
com.breadwallet.corenative.CryptoLibraryDirect.<clinit> (CryptoLibraryDirect.java:475)
com.breadwallet.corenative.CryptoLibraryDirect.cryptoAccountCreate (CryptoLibraryDirect.java)
com.breadwallet.corenative.crypto.BRCryptoAccount.createFromPhrase (BRCryptoAccount.java:42)
com.breadwallet.corecrypto.Account.createFromPhrase (Account.java:56)
com.breadwallet.corecrypto.CryptoApiProvider$1.createFromPhrase (CryptoApiProvider.java:35)
com.breadwallet.crypto.Account$-CC.createFromPhrase (Account.java:32)
Environment: Pixel 6 Pro, Android 12
Do you guys have a Flutter version?
Instead of separate code for Android/IOS, everything could be integrated ...
Description:
ETH tokens - I tested only with LINK currency, but it seems to be a problem for all ETH tokens - are not synced first time after creating System
after Account
restore. After creating system I added LINK wallet, but it didn't sync, I know I have non-zero balance from before, but it shows 0 balance.
After debugging I found out that LINK wallet is automatically added to the system if there is non-zero balance. But after restore, System
has available only currencies bundled with SDK, so in this case wallet is not added, since SDK has no currency definition. If I try to add wallet for ETH token later after currencies are already fetched from remote, it doesn't help, wallet is still not synced. I have to note, that this bug was not reproducible on Google Pixel 5, And 12, so it might be more prominent on slower/older devices.
If user creates system again (after currencies are fetched and cached) then it is synced correctly and shows non-zero balance.
Environment:
Reproduction steps:
Account
that has some balance on LINK or other ETH token currency.Expected result:
Non-zero balance on LINK currency.
Actual result:
Zero balance with wallet in CONNECTED
state.
Can't import wallet
The first time I create System
, create wallet managers and connect them, I get all the relevant events for wallets and walletManager.state
gets to CONNECTED
state. I imagine that's how I know that syncing has finished.
In our app we don't want to sync wallet managers all the time in the background, I noticed that WalletManagerBlockUpdatedEvent
event gets called a lot so I assume that wallet managers get updated in the background still. That is why when user leaves the screen we call system.pause()
and when he returns we call system.resume()
. The problem is that after these 2 calls walletManager.state
is SYNCING
all the time. No WalletManagerSync*Event
are even called, just WalletManagerChangedEvent
and then WalletManagerBlockUpdatedEvent
events.
It seems like this is a bug in the library, but it might be just my lack of understanding of the library. I am working with master
version 513c0ee.
Reproductions steps:
CONNECTED
state. Syncing is finished.system.pause()
.system.resume
.SYNCING
state and stay in this state.Any ideas?
WalletKitCore BRKey.c line 52
#include "secp256k1/src/basic-config.h" file not found
It shows support for spm but there is no easy way to simply add the package into a project. Is using local the only way? does the package have to be downloaded and built for every 0.01 change? A big part of using a package manager is versioning, how does that work?
Also your pricing seems decent for small dev teams but there is literally zero documentation, none. We're going into WalletKitSwift completely blind. Going file by file, line by line trying to figure all classes available and what they do. Attempting to read a few lines of comments.
Is this not a priority project for the team? please be upfront.
error is:
CreateProcess error=2, The system cannot find the file specified
When calling system.accountInitialize()
for Hedera network I get 403 query error. After checking SDK code, this happens after call to getHederaAccount()
.
I am using client authentication if that matters. I didn't get 403 error for any other API request.
This happens on latest master 7d65484.
When I run the WalletKitDemo-Android
I see first a list of of coins but after a second It is displaying:
Getting invalid or missing configuration JSON
wallet-kit/walletkit/WalletKitCore/src/support/BRKey.c:52:10: fatal error: 'secp256k1/src/basic-config.h' file not found
these two include are not working
#include "secp256k1/src/basic-config.h"
#include "secp256k1/src/secp256k1.c"
Since blockset-corp seems to no longer exist, I will just make a short announcement that https://github.com/nomo-app/walletkit-dart has been developed as a successor of this WalletKit.
Currently, WalletKit-Dart is mainly targeted for Flutter-Apps, but the plan is to expand it to other platforms as well.
I'm looking for a proper way to integrate WalletKit into an iOS project without using Swift Package Manager.
Our project and CI pipeline revolve around using Cocoapods for managing dependencies.
One of the issues when trying to use cocoapods is that WalletKit SDK contains lots of files with duplicate names that are located in different folders. Since cocoapods flatten the entire folder hierarchy into a single folder this immediately causes issues in our project.
Our idea was to create Xcode Framework project that would be a wrapper around the WalletKit, and then generate .framework
that would get uploaded into a new repo and would be configured to be used by cocoapods. The issue is that .framework
can't include Swift Package Dependencies in the generated .framework due to this limitation:
https://stackoverflow.com/questions/65220359/add-package-dependency-for-a-binary-target-with-swift-package-manager
Are there any proper instructions to add WalletKitSwift and WalletKitCore into a project without reliance on any dependency manager?
Hi,
I am trying to build the BRD app locally onto my iPhone it says that is missing "WalletKit". They don't see to be responding over there. Wonder if you might have some pointers. Just looking for a simple URL to download via Swift PM or a link to some basic install instructions that work.
Thanks
#240 Barnett & Keith Jenkins Blockset-corp / walletkit Github.com
``import requests
url = "https://api.trongrid.io/wallet/createtransaction"
payload = "{\n "to_address": "41e9d79cc47518930bc322d9bf7cddd260a0260a8d",\n "owner_address": "41D1E7A6BC354106CB410E65FF8B181C600FF14292",\n "amount": 1000\n}"
headers = {
'Content-Type': "application/json",
'TRON-PRO-API-KEY': "25f66928-0b70-48cd-9ac6-da6f8247c663"
}
response = requests.request("POST", url, data=payload, headers=headers)
print(response.text)
Where is the WalletKitBRD-Android
hosted? Or is it not hosted at all? In docs you only have defined com.breadwallet.core:corecrypto-android:<version>
but even that one doesn't seem to work. ๐คท
Dear Blockset-team,
I submitted a PR with #410, but I have not yet received an answer, therefore I try to reach out to you via this issue.
I read that both Blockset and Breadwallet have been acquired by Coinbase and the Blockset-API might be terminally shutdown on March 1, 2022.
This makes me wonder what the future of walletkit will be.
Do you know whether there will be any continued maintenance of wallekit, or will walletkit be discontinued as well?
There are no errors when using ./gradlew publishToMavenLocal
to publish the libs, but .aar file is not generated for WalletKitBRD-Android
project. I tried on master
as well and there it works fine, but not on develop
.
Web and Wallet kit to run with MyNicZ and Bitcoins.io and Pax Contracts giving transparency reports of proof of ownership and custodial assets.
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.