-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update v2 getTransactions && subscribers
- Loading branch information
Showing
7 changed files
with
23 additions
and
22 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 |
---|---|---|
|
@@ -14,7 +14,7 @@ const main = async () => { | |
}); | ||
|
||
const storage = new TonMemoryBlockStorageV2(); | ||
// const storage = new TonRedisBlockStorage("redis://:[email protected]:6379/0"); | ||
// const storage = new TonRedisBlockStorageV2("redis://:[email protected]:6379/0"); | ||
|
||
const logger = Logger({ | ||
transport: { | ||
|
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 |
---|---|---|
|
@@ -2,18 +2,19 @@ import { | |
TonHttpApiV3, | ||
TonSubscriberV3, | ||
TonMemoryBlockStorageV3, | ||
TonRedisBlockStorageV3, | ||
SchemaV3 | ||
} from "../src"; | ||
import Logger from "pino"; | ||
|
||
const main = async () => { | ||
const api = new TonHttpApiV3({ | ||
endpoint: "https://stage.toncenter.com/", | ||
endpoint: "https://toncenter.com/", | ||
apiKey: "" | ||
}); | ||
|
||
const storage = new TonMemoryBlockStorageV3(); | ||
// const storage = new TonRedisBlockStorage("redis://:[email protected]:6379/0"); | ||
// const storage = new TonRedisBlockStorageV3("redis://:[email protected]:6379/0"); | ||
|
||
const logger = Logger({ | ||
transport: { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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