Skip to content

Commit

Permalink
rename script/polkadotapp.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce authored and Bruce committed Sep 9, 2021
1 parent 4c95745 commit a926d28
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ async function run(url: string, options: { mode?: number, batch?: boolean, id?:
}
}

// run("wss://test-pro.pub.elara2.patract.cn/kusama/00000000000000000000000000000000")
// const url = "wss://test-pro.service.elara2.patract.cn/kusama/00000000000000000000000000000000"
// run("ws://localhost:9944/Polkadot/00000000000000000000000000000000")
// run("wss://pub.elara.patract.io/Polkadot/00000000000000000000000000000000")
// run("wss://pub.elara.patract.io/kusama")
//
// const url = "wss://pub.elara.patract.io/kusama"
const url = "wss://test-pro.pub.elara2.patract.cn/kusama"
// const url = "wss://test-pro.pub.elara2.patract.cn/kusama/00000000000000000000000000000000"

async function main(url: string, loop: number = 0) {
if (loop === 0) {
Expand All @@ -163,4 +163,4 @@ async function main(url: string, loop: number = 0) {
}
}

main(url, 100)
main(url, 1000)

0 comments on commit a926d28

Please sign in to comment.