Skip to content

Commit

Permalink
migrate sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Apr 23, 2023
1 parent f19b1f1 commit 0c24b70
Show file tree
Hide file tree
Showing 6 changed files with 819 additions and 716 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### [0.2.0](https://github.com/useElven/core/releases/tag/v0.2.0) (2023-04-23)
- migration to new major versions of `sdk-core` and `sdk-hw-provider`
- other minor dependecies updates
- adjustments in the code

### [0.1.0](https://github.com/useElven/core/releases/tag/v0.1.0) (2023-03-05)
- migration to Wallet Connect 2. Check the changes in [configuration](https://www.useelven.com/docs/sdk-reference.html). You will need your own WC project id.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Sign and send transaction:

```jsx
import { useTransaction } from '@useelven/core';
import { TransactionPayload, TokenPayment } from '@multiversx/sdk-core';
import { TransactionPayload, TokenTransfer } from '@multiversx/sdk-core';

(...)

Expand All @@ -70,7 +70,7 @@ const handleSendTx = () => {
address: 'erd123.....',
gasLimit: 50000 + 1500 * demoMessage.length,
data: new TransactionPayload(demoMessage),
value: TokenPayment.egldFromBigInteger(1_000_000_000_000_000_000),
value: TokenTransfer.egldFromBigInteger(1_000_000_000_000_000_000),
});
};
```
Expand Down
Loading

0 comments on commit 0c24b70

Please sign in to comment.