-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
NEP: XXX | ||
Title: Wallet Method - Sign and Return Signature | ||
NEP: 582 | ||
Title: Wallet Method - Sign and Return Signed Transaction | ||
Authors: Guille <[email protected]> | ||
Status: Draft | ||
DiscussionsTo: https://github.com/nearprotocol/neps/pull/xxx | ||
DiscussionsTo: https://github.com/nearprotocol/neps/pull/582 | ||
Type: Wallet Standard | ||
Version: 1.0.0 | ||
Created: 2024-12-18 | ||
|
@@ -24,7 +24,7 @@ It is important to stress that this NEP is not proposing to remove the current w | |
|
||
## Specification | ||
|
||
Wallets will need to implement a new method called `signAndReturnSignature` that will work as follows: | ||
Wallets will need to implement a new method called `signAndReturnSignature` with the following interface: | ||
|
||
```typescript | ||
export interface Transaction { | ||
|
@@ -47,7 +47,7 @@ interface Wallet { | |
} | ||
``` | ||
|
||
It is important to remark that the definitions of `Transaction` and `SignedTransaction` are taken from `near-api-js` | ||
It is important to remark that the definitions of `Transaction` and `Signature` are taken from `near-api-js` | ||
|
||
## Reference Implementation | ||
|
||
|