GithubHelp home page GithubHelp logo

vocdoni / dvote-flutter Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 0.0 521 KB

Decentralized, end-to-end verifiable governance platform client library for Dart.

License: GNU Lesser General Public License v2.1

Dart 99.37% Kotlin 0.04% Ruby 0.44% Swift 0.13% Objective-C 0.01%
voting voting-app voting-application vote vote-application voting-system flutter

dvote-flutter's People

Contributors

brickpop avatar divdevdoe avatar jordipainan avatar natewilliams2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dvote-flutter's Issues

The client app fails loading symbols on the app store version

Testing the app on device (both debug and release targets) works fine.

However, submitting the app to the store and running it fails:

Exception: Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, generate_mnemonic): symbol not found)

Use the new ETH domains

// TODO: Use the non-dev domain
final entityResolverDomain = "entities.dev.vocdoni.eth";
final processDomain = "process.dev.vocdoni.eth";

BIP32 derives invalid private keys on pure Dart

When comparing the generated private keys between Rust and Dart, there may be mismatches from time to time.

  • Try detecting the error on bip32
  • Find a replacement otherwise

Comparison

Mnemonic: return guide exotic stem lazy cancel stamp company purse useless pact affair ripple intact destroy finish kite muffin

Dart

Using BIP32 on pub.dev

  • Seed: c5a8442eb1f5d2d884c8747b881bd8b2f5ffe3267b242fe253774442d2afe991ed6b7893ef8dea8cb88101cdfc69e71548a298eeeb6d833a124d7b79b572ad87
  • Root key: cdb16d8b08beb6559981dd9da07b9ece699e8e66021116f61c4415c440ed09f0
  • Derived private key: 61419a134920f7d5f35db36b01a3149b2633ca59ba7adc87cb59bcd5cd2d4064

Seems to be abandoned since 2018. The original repository does not even exist.

Rust

  • Seed: 0xC5A8442EB1F5D2D884C8747B881BD8B2F5FFE3267B242FE253774442D2AFE991ED6B7893EF8DEA8CB88101CDFC69E71548A298EEEB6D833A124D7B79B572AD87
  • Private key: c6fd4b75573df00fd8713c5cce929ec41c57398fe9de99eece6b9807132a3b6b

Ethers.js

wallet = Wallet.fromMnemonic("return guide exotic stem lazy cancel stamp company purse useless pact affair ripple intact destroy finish kite muffin")
wallet.signingKey.keyPair.privateKey
> '0xc6fd4b75573df00fd8713c5cce929ec41c57398fe9de99eece6b9807132a3b6b'

Web

https://iancoleman.io/bip39/

  • Private key: 0xc6fd4b75573df00fd8713c5cce929ec41c57398fe9de99eece6b9807132a3b6b

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.