coolbitx-technology / coolwallet-sdk Goto Github PK
View Code? Open in Web Editor NEWJavaScript SDK to communicate with CoolWallet Pro.
Home Page: https://coolwallet.io/
License: Apache License 2.0
JavaScript SDK to communicate with CoolWallet Pro.
Home Page: https://coolwallet.io/
License: Apache License 2.0
Basic Info:
Additional Information
Run https://bloks.io
Would love to support Cool Wallet on our site but EOS support for coin wallet is limited to transfers only :(
Can I help somehow to enable all actions like Ledger and Trezor?
We currently have huge demand of EOS API support. Potential integration with Lynx wallet and other EOS Dapps.
Any release date for BTC support? Thanks
Describe the bug
I got message when using latest version of @coolwallet/transport-react-native-ble and @coolwallet/core
I tried all of command below but does not worked
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
error: Error: Unable to resolve module crypto from /Users/userA/workspace/ReactWallet/node_modules/@coolwallet/core/lib/config/index.js: crypto could not be found within the project or in these directories:
node_modules/@coolwallet/core/node_modules
node_modules
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
16 | var general = _interopRequireWildcard(require("../apdu/general"));
17 |
> 18 | var _hash = require("../crypto/hash");
| ^
19 |
20 | var _param = require("./param");
21 |
at ModuleResolver.resolveDependency (/Users/userA/workspace/ReactWallet/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:234:15)
at DependencyGraph.resolveDependency (/Users/userA/workspace/ReactWallet/node_modules/metro/src/node-haste/DependencyGraph.js:413:43)
at Object.resolve (/Users/userA/workspace/ReactWallet/node_modules/metro/src/lib/transformHelpers.js:317:42)
at resolve (/Users/userA/workspace/ReactWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:629:33)
at /Users/userA/workspace/ReactWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:645:26
at Array.reduce (<anonymous>)
at resolveDependencies (/Users/userA/workspace/ReactWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:644:33)
at /Users/userA/workspace/ReactWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:329:33
at Generator.next (<anonymous>)
at asyncGeneratorStep (/Users/userA/workspace/ReactWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:137:24)
To Reproduce
Steps to reproduce the behavior:
Environment:
Integrate NEAR Protocol into CoolWallet using CoolWallet SDK
Java, JavaScript, TypeScript, Blockchain knowledge
18,000 USD
To integrate NEAR Protocol into CoolWallet to enable CoolWallet to perform "Get NEAR Protocol Address Format" and "Get Signed and Uploadable Transactions", you will need to complete the following two items.
Further development details can be found on gitHub and other bounty program details can be found on the SDK website.
The Cosmos package is detailed here:
https://github.com/CoolBitX-Technology/coolwallet-sdk/tree/master/packages/coin-cosmos
But it is not published on npm, so installing it from npm fails.
Describe the bug
this create the same address even if the accountIndex changed in apdu.coin.getAccountExtendedKey
To Reproduce
Steps to reproduce the behavior:
Error
No Error message.
Environment:
I am trying to get a card ID for app registration, but I get APDU error 6D00.
Request -> 00:09:80:ca:00:00:00:00:00:00:00
Reply <- 01:02:6d:00
Perhaps I am requesting commands in the wrong sequence or not according to workflow.
I will be grateful for the answer, thank you!
At the file wallet/src/create.js, I found there is a function sendCheckSum(transport, checkSum)
.
Inside the function existing a return that:
return await apdu.wallet.submitCheckSum(this.transport, sumHex)
Here this.transport is undefined ?
Also how can recover a wallet with the sdk ?
Add an event listener for different ble modules on device disconnect.
For webble for example, now users have to add it manually on device
like this:
device.addEventListener('gattserverdisconnected', () => {
console.log("Device disconnected.")
})
Ideally:
transport.onDisconnect = () => {
console.log("Device disconnected.")
}
I want to integrated / embed this sdk into my existing native android/iOS app (not react native)
any example how to do that?
The signTypedData functionality is upgraded with new APDU commands from SE version 96. We need to upgrade the corresponding code in our sdk.
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.