Giter VIP home page Giter VIP logo

coolwallet-sdk's People

Contributors

a0979470582 avatar ain2211 avatar aitarf0921 avatar akuzmichkin avatar antoncoding avatar coolwallet-team avatar cyje66 avatar dannyyaou avatar dependabot[bot] avatar dorac avatar ellingtonsu avatar ericting2000 avatar gundomlegend avatar hank121314 avatar hankliu418 avatar iancoolbitx avatar kanitsu avatar kuanyulai avatar kunmingliu avatar metapolymer avatar omahs avatar sebas-wits avatar skchang0710 avatar sotatek-khanhle avatar sotatek-toantran avatar srt1678 avatar tp26610 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coolwallet-sdk's Issues

[Coin Request] - Full EOS Support

Basic Info:

  • Name of Coin: EOS
  • Official Website: eos.io

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?

Add EOS API

We currently have huge demand of EOS API support. Potential integration with Lynx wallet and other EOS Dapps.

[transport-react-native-ble] Unable to call library

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:

  1. yarn add @coolwallet/transport-react-native-ble @coolwallet/core
  2. cd ios && pod install && cd ..
  3. yarn start
  4. See error

Environment:

  • @coolwallet/transport-react-native-ble : "0.1.0"
  • @coolwallet/core : "^1.0.3"
  • React Native using Typescript

[SDK Bounty Program] - Integrate NEAR Protocol into CoolWallet using CoolWallet SDK

Task

Integrate NEAR Protocol into CoolWallet using CoolWallet SDK

Skills

Java, JavaScript, TypeScript, Blockchain knowledge

Bounty Reward

18,000 USD

Task Description

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.

  • Script: Development of logical scripts for composing transactions and displaying them in the card.
  • SDK: Development of blockchain addresses and interfaces to obtain signed transactions (among others).

Further development details can be found on gitHub and other bounty program details can be found on the SDK website.

[core]Create the same address even if the accountIndex changed.

Describe the bug
this create the same address even if the accountIndex changed in apdu.coin.getAccountExtendedKey

To Reproduce
Steps to reproduce the behavior:

  1. Get encrypted data with apdu.coin.getAccountExtendedKey() where accIndex=1,2.
  2. Decode the data with crypto.encryption.ECIESDec().
  3. Compare two data.

Error
No Error message.

Environment:

  • The ble transport: web-ble
  • version:
    • "@coolwallets/core" : "0.0.20",
    • "@coolwallets/transport": "0.0.10",

APDU error on GET_CARD_ID

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!

[transport] Add onDisconnect event for transport

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.")
}

use this sdk in native platform

I want to integrated / embed this sdk into my existing native android/iOS app (not react native)
any example how to do that?

ETH signTypedData error with 6f00

The signTypedData functionality is upgraded with new APDU commands from SE version 96. We need to upgrade the corresponding code in our sdk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.