Comments (6)
compiler message: file:///Users/tian/.pub-cache/hosted/pub.dartlang.org/pointycastle-0.11.1/lib/macs/hmac.dart:82:28: Error: The parameter 'params' of the method 'HMac::init' has type pointycastle.api::KeyParameter, which does not match the corresponding type in the overridden method (pointycastle.api::CipherParameters).
compiler message: Change to a supertype of pointycastle.api::CipherParameters (or, for a covariant parameter, a subtype).
compiler message: void init(KeyParameter params) {
compiler message: ^
compiler message: file:///Users/tian/.pub-cache/hosted/pub.dartlang.org/pointycastle-0.11.1/lib/src/api/mac.dart:26:8: Context: This is the overriden method ('init').
compiler message: void init(CipherParameters params);
compiler message: ^
compiler message: file:///Users/tian/.pub-cache/hosted/pub.dartlang.org/pointycastle-0.11.1/lib/signers/ecdsa_signer.dart:129:55: Error: The parameter 'signature' of the method 'ECDSASigner::verifySignature' has type pointycastle.api.ecc::ECSignature, which does not match the corresponding type in the overridden method (pointycastle.api::Signature).
compiler message: Change to a supertype of pointycastle.api::Signature (or, for a covariant parameter, a subtype).
compiler message: bool verifySignature(Uint8List message, ECSignature signature) {
compiler message: ^
from web3dart.
The crypto library used by this project isn't ready for dart 2 (which Flutter uses by default) yet. When PointyCastle/pointycastle#122 lands, I will upgrade this library so that it will work with Flutter.
If you urgently need to use this library, consider disabling dart 2 for Flutter with this guide. I will close this issue when this library and all its dependencies support dart 2, although that might break backwards-compatibility for some APIs.
from web3dart.
Thank you
from web3dart.
@simolus3 Hi, the PointyCastle has a RC version solved the dart 2 problem. PointyCastle/pointycastle#125
from web3dart.
@simolus3 can you please fix this issue ? thank you very much
from web3dart.
It should be fixed in version 0.3.0 of this library which is now out on pub. Let me know if you run into any further issues.
from web3dart.
Related Issues (20)
- NFT dapp HOT 1
- How to set a timeout for Web3Client? HOT 1
- intToBytes mistake
- How to decodeParameters
- web3dart
- Ignore non_constant_identifier_names, camel_case_types in generated (.g.dart) files HOT 5
- Test Net HOT 2
- Support ethers.utils functionality HOT 1
- Bug: Zero address returned from contract call causes exception HOT 20
- web3dart: ^2.3.3
- private Api for centralized blockchain HOT 3
- How can i call smart contract functions through web3dart without private key in flutter HOT 2
- getBlockInformation() - Throws Error HOT 1
- Transaction Lists HOT 2
- How a new user can create an account without private key?
- Support for BEP20 Transfer?
- Value not in Range
- On Ganache V 7.0.0 I am receiving an rpc error "Unhandled Exception: RPCError: got code -32700 with msg "Invalid signature v value"." HOT 1
- Getting transactions with eth_getBlockByNumber
- Doesn't work after building project but works fine in debug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3dart.