aion-web3-eth-accounts
Advanced tools
Comparing version 1.0.3 to 1.1.0
{ | ||
"name": "aion-web3-eth-accounts", | ||
"namespace": "aion", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Web3 module to generate Ethereum accounts and sign data and transactions.", | ||
@@ -10,8 +10,8 @@ "repository": "https://github.com/aionnetwork/aion_web3/tree/master/packages/web3-eth-accounts", | ||
"dependencies": { | ||
"aion-lib": "1.0.3", | ||
"aion-lib": "1.1.0", | ||
"aion-rlp": "^0.0.1", | ||
"aion-web3-core": "1.0.3", | ||
"aion-web3-core-helpers": "1.0.3", | ||
"aion-web3-core-method": "1.0.3", | ||
"aion-web3-utils": "1.0.3", | ||
"aion-web3-core": "1.1.0", | ||
"aion-web3-core-helpers": "1.1.0", | ||
"aion-web3-core-method": "1.1.0", | ||
"aion-web3-utils": "1.1.0", | ||
"any-promise": "1.3.0", | ||
@@ -21,3 +21,3 @@ "underscore": "1.8.3", | ||
}, | ||
"gitHead": "d36131a6d8b1db7eeaaa545dafa1b5c74d4d2e68" | ||
"gitHead": "b9adc81c487ef3be6e4a1cac9827b6224b61a95e" | ||
} |
@@ -1,8 +0,9 @@ | ||
# web3-eth-accounts | ||
# aion-web3-eth-accounts | ||
This is a sub package of [web3.js][repo] | ||
This is a sub package of [aion_web3][repo]. | ||
This is the accounts package to be used in the `web3-eth` package. | ||
Please read the [documentation][docs] for more. | ||
This is the accounts package to be used in aion_web3. | ||
Please read the [documentation](https://docs.aion.network/docs/web3) for more information. | ||
## Installation | ||
@@ -13,38 +14,7 @@ | ||
```bash | ||
npm install web3-eth-accounts | ||
npm install aion-web3-eth-accounts | ||
``` | ||
### In the Browser | ||
[repo]: https://github.com/aionnetwork/aion_web3 | ||
Build running the following in the [web3.js][repo] repository: | ||
```bash | ||
npm run-script build-all | ||
``` | ||
Then include `dist/web3-eth-accounts.js` in your html file. | ||
This will expose the `Web3EthAccounts` object on the window object. | ||
## Usage | ||
```js | ||
// in node.js | ||
var Web3EthAccounts = require('web3-eth-accounts'); | ||
var account = new Web3EthAccounts('ws://localhost:8546'); | ||
account.create(); | ||
> { | ||
address: '0x2c7536E3605D9C16a7a3D7b1898e529396a65c23', | ||
privateKey: '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318', | ||
signTransaction: function(tx){...}, | ||
sign: function(data){...}, | ||
encrypt: function(password){...} | ||
} | ||
``` | ||
[docs]: http://web3js.readthedocs.io/en/1.0/ | ||
[repo]: https://github.com/ethereum/web3.js | ||
/* | ||
This file is part of web3.js. | ||
web3.js is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
web3.js is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with web3.js. If not, see <http://www.gnu.org/licenses/>. | ||
* Copyright (c) 2017-2018 Aion foundation. | ||
* | ||
* This file is part of the aion network project. | ||
* | ||
* The aion network project is free software: you can redistribute it | ||
* and/or modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation, either version 3 of | ||
* the License, or any later version. | ||
* | ||
* The aion network project is distributed in the hope that it will | ||
* be useful, but WITHOUT ANY WARRANTY; without even the implied | ||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* See the GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with the aion network project source files. | ||
* If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Contributors: | ||
* Aion foundation. | ||
* Fabian Vogelsteller <fabian@frozeman.de> | ||
*/ | ||
/** | ||
* @file accounts.js | ||
* @author Fabian Vogelsteller <fabian@ethereum.org> | ||
* @date 2017 | ||
*/ | ||
"use strict"; | ||
"use strict"; | ||
@@ -25,0 +27,0 @@ var _ = require("underscore"); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
468
53493
20
+ Addedaion-lib@1.1.0(transitive)
+ Addedaion-web3-core@1.1.0(transitive)
+ Addedaion-web3-core-helpers@1.1.0(transitive)
+ Addedaion-web3-core-method@1.1.0(transitive)
+ Addedaion-web3-core-promievent@1.1.0(transitive)
+ Addedaion-web3-core-requestmanager@1.1.0(transitive)
+ Addedaion-web3-core-subscriptions@1.1.0(transitive)
+ Addedaion-web3-providers-http@1.1.0(transitive)
+ Addedaion-web3-providers-ipc@1.1.0(transitive)
+ Addedaion-web3-providers-ws@1.1.0(transitive)
+ Addedaion-web3-utils@1.1.0(transitive)
+ Addedlodash.padend@4.6.1(transitive)
+ Addedlodash.padstart@4.6.1(transitive)
- Removedaion-lib@1.0.3(transitive)
- Removedaion-web3-core@1.0.3(transitive)
- Removedaion-web3-core-helpers@1.0.3(transitive)
- Removedaion-web3-core-method@1.0.3(transitive)
- Removedaion-web3-core-promievent@1.0.3(transitive)
- Removedaion-web3-core-requestmanager@1.0.3(transitive)
- Removedaion-web3-core-subscriptions@1.0.3(transitive)
- Removedaion-web3-providers-http@1.0.3(transitive)
- Removedaion-web3-providers-ipc@1.0.3(transitive)
- Removedaion-web3-providers-ws@1.0.3(transitive)
- Removedaion-web3-utils@1.0.3(transitive)
Updatedaion-lib@1.1.0
Updatedaion-web3-core@1.1.0
Updatedaion-web3-core-helpers@1.1.0
Updatedaion-web3-core-method@1.1.0
Updatedaion-web3-utils@1.1.0