Added example signature in README
This commit is contained in:
parent
60940505f1
commit
b311ab8df8
|
@ -31,6 +31,7 @@ To verify a message:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var address = 'n1ZCYg9YXtB5XCZazLxSmPDa8iwJRZHhGx';
|
var address = 'n1ZCYg9YXtB5XCZazLxSmPDa8iwJRZHhGx';
|
||||||
|
var signature = 'H/DIn8uA1scAuKLlCx+/9LnAcJtwQQ0PmcPrJUq90aboLv3fH5fFvY+vmbfOSFEtGarznYli6ShPr9RXwY9UrIY=';
|
||||||
var verified = Message('hello, world').verify(address, signature);
|
var verified = Message('hello, world').verify(address, signature);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue