Skip to content

Commit

Permalink
Migrated to @ton/crypto instead of ton-crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
KardanovIR committed Jul 14, 2023
1 parent 84b6317 commit c4d9bb1
Show file tree
Hide file tree
Showing 5 changed files with 6,446 additions and 4,348 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ expect(tracker.collect()).toMatchSnapshot();

```

## Acknowledgements
This library is developed and maintained by the [Whales Corp.](https://tonwhales.com/).

## License

MIT
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ton/ton-emulator",
"version": "2.1.2",
"version": "2.1.3",
"main": "dist/index.js",
"repository": "https://github.com/ton-org/ton-emulator.git",
"author": "Steve Korshakov <[email protected]>",
Expand All @@ -17,19 +17,19 @@
},
"devDependencies": {
"@release-it/keep-a-changelog": "^3.1.0",
"@ton/core": ">=0.49.2",
"@ton/crypto": "^3.2.0",
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"release-it": "^15.6.0",
"@ton/core": ">=0.49.1",
"ton-crypto": "^3.2.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"peerDependencies": {
"@ton/core": ">=0.47.0",
"ton-crypto": "^3.2.0"
"@ton/core": ">=0.49.2",
"@ton/crypto": "^3.2.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion src/treasure/Treasure.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Address, beginCell, Cell, Contract, contractAddress, ContractProvider, Dictionary, DictionaryValue, internal, loadMessageRelaxed, MessageRelaxed, Sender, SendMode, storeMessageRelaxed } from "@ton/core";
import { KeyPair, sign } from "ton-crypto";
import { KeyPair, sign } from "@ton/crypto";
import { Maybe } from "../utils/maybe";

// Highload Wallet code
Expand Down
2 changes: 1 addition & 1 deletion src/utils/testKey.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Prando from "prando";
import { keyPairFromSeed } from "ton-crypto";
import { keyPairFromSeed } from "@ton/crypto";

export function testKey(seed: string) {
let random = new Prando(seed);
Expand Down
Loading

0 comments on commit c4d9bb1

Please sign in to comment.