You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# retracer-core
1
+
# TxTracer-core
2
2
3
-
**retracer-core** is a core library for deep analysis, emulation, and tracing of transactions on the TON blockchain. The library allows you to reproduce transaction execution in a local sandbox, obtain detailed reports on computation, actions, and money flow, and collect low-level information about blocks, accounts, and messages.
3
+
**TxTracer-core** is a core library for deep analysis, emulation, and tracing of transactions on the TON blockchain. The library allows you to reproduce transaction execution in a local sandbox, obtain detailed reports on computation, actions, and money flow, and collect low-level information about blocks, accounts, and messages.
4
4
5
5
## Features
6
6
@@ -13,15 +13,15 @@
13
13
## Installation
14
14
15
15
```bash
16
-
yarn add @tact-lang/retracer-core
16
+
yarn add @tact-lang/txtracer-core
17
17
# or
18
-
npm install @tact-lang/retracer-core
18
+
npm install @tact-lang/txtracer-core
19
19
```
20
20
21
21
## Quick Start
22
22
23
23
```ts
24
-
import { retrace } from"@tact-lang/retracer-core"
24
+
import { retrace } from"@tact-lang/txtracer-core"
25
25
26
26
// Example: trace a transaction by its hash
27
27
const result =awaitretrace(false, "YOUR_TX_HASH")
@@ -33,19 +33,19 @@ console.log(result)
33
33
### Transaction Tracing
34
34
35
35
```ts
36
-
import { retrace } from"@tact-lang/retracer-core"
36
+
import { retrace } from"@tact-lang/txtracer-core"
37
37
38
38
/**
39
39
* @paramtestnet - true for testnet, false for mainnet
All methods are exported from `@tact-lang/retracer-core` and can be used independently:
48
+
All methods are exported from `@tact-lang/txtracer-core` and can be used independently:
49
49
50
50
-**findBaseTxByHash(testnet, txHash)** — Find base transaction info by hash.
51
51
-**findRawTxByHash(testnet, baseTxInfo)** — Get full transaction details.
@@ -63,7 +63,7 @@ All methods are exported from `@tact-lang/retracer-core` and can be used indepen
63
63
64
64
## Types
65
65
66
-
All main types (transactions, blocks, messages, tracing results) are exported from `@tact-lang/retracer-core` and are fully typed (see [src/types.ts](src/types.ts)).
66
+
All main types (transactions, blocks, messages, tracing results) are exported from `@tact-lang/txtracer-core` and are fully typed (see [src/types.ts](src/types.ts)).
Copy file name to clipboardExpand all lines: src/test/__snapshots__/test.spec.ts.snap
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -157,19 +157,19 @@ exports[`transactions should return correct information for transaction with ext
157
157
}
158
158
`;
159
159
160
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 1`] = `"b5ee9c7241021401000281000114ff00f4a413f4bcf2c80b01020120020d020148030402dcd020d749c120915b8f6320d70b1f2082106578746ebd21821073696e74bdb0925f03e082106578746eba8eb48020d72101d074d721fa4030fa44f828fa443058bd915be0ed44d0810141d721f4058307f40e6fa1319130e18040d721707fdb3ce03120d749810280b99130e070e2100f020120050c020120060902016e07080019adce76a2684020eb90eb85ffc00019af1df6a2684010eb90eb858fc00201480a0b0017b325fb51341c75c875c2c7e00011b262fb513435c280200019be5f0f6a2684080a0eb90fa02c0102f20e011e20d70b1f82107369676ebaf2e08a7f0f01e68ef0eda2edfb218308d722028308d723208020d721d31fd31fd31fed44d0d200d31f20d31fd3ffd70a000af90140ccf9109a28945f0adb31e1f2c087df02b35007b0f2d0845125baf2e0855036baf2e086f823bbf2d0882292f800de01a47fc8ca00cb1f01cf16c9ed542092f80fde70db3cd81003f6eda2edfb02f404216e926c218e4c0221d73930709421c700b38e2d01d72820761e436c20d749c008f2e09320d74ac002f2e09320d71d06c712c2005230b0f2d089d74cd7393001a4e86c128407bbf2e093d74ac000f2e093ed55e2d20001c000915be0ebd72c08142091709601d72c081c12e25210b1e30f20d74a111213009601fa4001fa44f828fa443058baf2e091ed44d0810141d718f405049d7fc8ca0040048307f453f2e08b8e14038307f45bf2e08c22d70a00216e01b3b0f2d090e2c85003cf1612f400c9ed54007230d72c08248e2d21f2e092d200ed44d0d2005113baf2d08f54503091319c01810140d721d70a00f2e08ee2c8ca0058cf16c9ed5493f2c08de20010935bdb31e1d74cd0b4d6c35e"`;
160
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 1`] = `"b5ee9c7241021401000281000114ff00f4a413f4bcf2c80b01020120020d020148030402dcd020d749c120915b8f6320d70b1f2082106578746ebd21821073696e74bdb0925f03e082106578746eba8eb48020d72101d074d721fa4030fa44f828fa443058bd915be0ed44d0810141d721f4058307f40e6fa1319130e18040d721707fdb3ce03120d749810280b99130e070e2100f020120050c020120060902016e07080019adce76a2684020eb90eb85ffc00019af1df6a2684010eb90eb858fc00201480a0b0017b325fb51341c75c875c2c7e00011b262fb513435c280200019be5f0f6a2684080a0eb90fa02c0102f20e011e20d70b1f82107369676ebaf2e08a7f0f01e68ef0eda2edfb218308d722028308d723208020d721d31fd31fd31fed44d0d200d31f20d31fd3ffd70a000af90140ccf9109a28945f0adb31e1f2c087df02b35007b0f2d0845125baf2e0855036baf2e086f823bbf2d0882292f800de01a47fc8ca00cb1f01cf16c9ed542092f80fde70db3cd81003f6eda2edfb02f404216e926c218e4c0221d73930709421c700b38e2d01d72820761e436c20d749c008f2e09320d74ac002f2e09320d71d06c712c2005230b0f2d089d74cd7393001a4e86c128407bbf2e093d74ac000f2e093ed55e2d20001c000915be0ebd72c08142091709601d72c081c12e25210b1e30f20d74a111213009601fa4001fa44f828fa443058baf2e091ed44d0810141d718f405049d7fc8ca0040048307f453f2e08b8e14038307f45bf2e08c22d70a00216e01b3b0f2d090e2c85003cf1612f400c9ed54007230d72c08248e2d21f2e092d200ed44d0d2005113baf2d08f54503091319c01810140d721d70a00f2e08ee2c8ca0058cf16c9ed5493f2c08de20010935bdb31e1d74cd0b4d6c35e"`;
161
161
162
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 2`] =`undefined`;
162
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 2`] =`undefined`;
163
163
164
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 3`] =`"EQAGV9thOGkeBhzFzLOom0er5l6ertdXHWDoQv4yoKL1ELkU"`;
164
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 3`] =`"EQAGV9thOGkeBhzFzLOom0er5l6ertdXHWDoQv4yoKL1ELkU"`;
165
165
166
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 4`] =`undefined`;
166
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 4`] =`undefined`;
167
167
168
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 5`] =`55778062000001n`;
168
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 5`] =`55778062000001n`;
169
169
170
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 6`] =`1743947933`;
170
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 6`] =`1743947933`;
171
171
172
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 7`] =`
172
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 7`] =`
173
173
{
174
174
"exitCode": 0,
175
175
"gasFees": 1975600n,
@@ -179,14 +179,14 @@ exports[`transactions should return correct information for transaction with ext
179
179
}
180
180
`;
181
181
182
-
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 8`] =`
182
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 8`] =`
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that retracer cannot fully recreate 9`] =`
189
+
exports[`transactions should return correct information for transaction with external-in message for wallet v5 that txtracer cannot fully recreate 9`] =`
0 commit comments