Socket
Socket
Sign inDemoInstall

web3-eth-personal

Package Overview
Dependencies
Maintainers
4
Versions
436
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-eth-personal - npm Package Compare versions

Comparing version 4.0.9-dev.b819ee4.0 to 4.0.9-dev.b86d8ca.0

38

lib/commonjs/personal.d.ts
import { Web3Context } from 'web3-core';
import { Address, EthPersonalAPI, HexString, Transaction } from 'web3-types';
/**
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
export declare class Personal extends Web3Context<EthPersonalAPI> {

@@ -24,0 +24,0 @@ /**

@@ -55,21 +55,21 @@ "use strict";

/**
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
class Personal extends web3_core_1.Web3Context {

@@ -76,0 +76,0 @@ /**

@@ -29,21 +29,21 @@ /*

/**
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
export class Personal extends Web3Context {

@@ -50,0 +50,0 @@ /**

import { Web3Context } from 'web3-core';
import { Address, EthPersonalAPI, HexString, Transaction } from 'web3-types';
/**
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
export declare class Personal extends Web3Context<EthPersonalAPI> {

@@ -24,0 +24,0 @@ /**

{
"name": "web3-eth-personal",
"version": "4.0.9-dev.b819ee4.0+b819ee4",
"version": "4.0.9-dev.b86d8ca.0+b86d8ca",
"description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.",

@@ -33,3 +33,3 @@ "main": "./lib/commonjs/index.js",

"build:check": "node -e \"require('./lib')\"",
"lint": "eslint --ext .js,.ts .",
"lint": "eslint --cache --cache-strategy content --ext .ts .",
"lint:fix": "eslint --fix --ext .js,.ts .",

@@ -46,8 +46,8 @@ "format": "prettier --write '**/*'",

"dependencies": {
"web3-core": "4.3.3-dev.b819ee4.0+b819ee4",
"web3-eth": "4.3.2-dev.b819ee4.0+b819ee4",
"web3-rpc-methods": "1.1.5-dev.b819ee4.0+b819ee4",
"web3-types": "1.3.2-dev.b819ee4.0+b819ee4",
"web3-utils": "4.1.1-dev.b819ee4.0+b819ee4",
"web3-validator": "2.0.4-dev.b819ee4.0+b819ee4"
"web3-core": "4.5.2-dev.b86d8ca.0+b86d8ca",
"web3-eth": "4.8.3-dev.b86d8ca.0+b86d8ca",
"web3-rpc-methods": "1.3.1-dev.b86d8ca.0+b86d8ca",
"web3-types": "1.7.1-dev.b86d8ca.0+b86d8ca",
"web3-utils": "4.3.2-dev.b86d8ca.0+b86d8ca",
"web3-validator": "2.0.7-dev.b86d8ca.0+b86d8ca"
},

@@ -62,10 +62,10 @@ "devDependencies": {

"eslint-plugin-import": "^2.26.0",
"jest": "^28.1.3",
"jest": "^29.7.0",
"jest-extended": "^3.0.1",
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-providers-ws": "4.0.8-dev.b819ee4.0+b819ee4"
"web3-providers-ws": "4.0.9-dev.b86d8ca.0+b86d8ca"
},
"gitHead": "b819ee48c114248a497c5ccf1484c265be41d606"
"gitHead": "b86d8cae50d60e56e96bde9d1b836ca01ecd0fbc"
}

@@ -24,21 +24,21 @@ /*

/**
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
* Eth Personal allows you to interact with the Ethereum node’s accounts.
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager.
* ```ts
*
*import { Web3 } from 'web3';
* const web3 = new Web3('http://127.0.0.1:7545');
*
* console.log(await web3.eth.personal.getAccounts());
*
* ```
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`.
*
* ```ts
* import {Personal} from 'web3-eth-personal';
*
* const personal = new Personal('http://127.0.0.1:7545');
* console.log(await personal.getAccounts());
* ```
*/
export class Personal extends Web3Context<EthPersonalAPI> {

@@ -45,0 +45,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc