Skip to content

Commit ebb41a3

Browse files
authored
Merge pull request #30 from getsafle/test
Readme Updates
2 parents 161662d + 6eae0f7 commit ebb41a3

4 files changed

Lines changed: 30 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,9 @@
6262

6363
### 1.4.4 (2023-06-23)
6464

65-
- update sign transaction to accept private key in case of imported wallet, null by default
65+
- update sign transaction to accept private key in case of imported wallet, null by default
66+
67+
68+
### 1.4.5 (2023-07-05)
69+
70+
- Adding badges for Readme.md

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1-
# Vault Eth Controller
1+
# Vault-eth-Controller<code><a href="https://www.docker.com/" target="_blank"><img height="50" src="https://assets.coingecko.com/coins/images/279/small/ethereum.png?1595348880"></a></code>
22

3-
## Install
3+
[![npm version](https://badge.fury.io/js/@getsafle%2Fvault-eth-controller.svg)](https://badge.fury.io/js/@getsafle%2Fvault-eth-controller) <img alt="Static Badge" src="https://img.shields.io/badge/License-MIT-green"> [![Discussions][discussions-badge]][discussions-link]
4+
<img alt="Static Badge" src="https://img.shields.io/badge/Eth_controller-documentation-purple">
5+
6+
A Module written in javascript for managing various keyrings of Ethereum accounts, encrypting them, and using them.
7+
8+
- [Installation](#installation)
9+
- [Initialize the Eth Controller class](#initialize-the-eth-controller-class)
10+
- [Methods](#methods)
11+
- [Generate Keyring with 1 account and encrypt](#generate-keyring-with-1-account-and-encrypt)
12+
- [Restore a keyring with the first account using a mnemonic](#restore-a-keyring-with-the-first-account-using-a-mnemonic)
13+
- [Add a new account to the keyring object](#add-a-new-account-to-the-keyring-object)
14+
- [Export the private key of an address present in the keyring](#export-the-private-key-of-an-address-present-in-the-keyring)
15+
- [Sign a transaction](#sign-a-transaction)
16+
- [Sign a message](#sign-a-message)
17+
- [Get balance](#get-balance)
18+
19+
20+
21+
## Installation
422

523
`npm install --save @getsafle/vault-eth-controller`
624

@@ -90,3 +108,5 @@ const receipt = await ethController.sendTransaction(signedTx, web3);
90108
```
91109
const fees = await ethController.getFees(rawTx, web3);
92110
```
111+
[discussions-badge]: https://img.shields.io/badge/Code_Quality-passing-rgba
112+
[discussions-link]: https://github.com/getsafle/vault-eth-controller/actions

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@getsafle/vault-eth-controller",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"description": "Ethereum controller for safle vault.",
55
"main": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)