How to use the @ethersproject/bytes.joinSignature function in @ethersproject/bytes

To help you get started, we’ve selected a few @ethersproject/bytes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ethers-io / ethers.js / packages / wallet / src.ts / index.ts View on Github external
signMessage(message: Bytes | string): Promise {
        return Promise.resolve(joinSignature(this._signingKey().signDigest(hashMessage(message))));
    }
github ethers-io / ethers.js / packages / wallet / index.js View on Github external
Wallet.prototype.signMessage = function (message) {
        return Promise.resolve(bytes_1.joinSignature(this._signingKey().signDigest(hash_1.hashMessage(message))));
    };
    Wallet.prototype.encrypt = function (password, options, progressCallback) {
github ethers-io / ethers.js / packages / wallet / lib.esm / index.js View on Github external
signMessage(message) {
        return Promise.resolve(joinSignature(this._signingKey().signDigest(hashMessage(message))));
    }
    encrypt(password, options, progressCallback) {