https://github.com/deadblackclover/we-scripts
Various scripts for working with Waves Enterprise
https://github.com/deadblackclover/we-scripts
babashka scripts waves-enterprise
Last synced: 6 months ago
JSON representation
Various scripts for working with Waves Enterprise
- Host: GitHub
- URL: https://github.com/deadblackclover/we-scripts
- Owner: deadblackclover
- License: gpl-3.0
- Created: 2024-07-27T09:02:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-03T19:15:33.000Z (about 1 year ago)
- Last Synced: 2025-04-12T02:09:59.575Z (6 months ago)
- Topics: babashka, scripts, waves-enterprise
- Language: Clojure
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# we-scripts
Various scripts for working with Waves Enterprise
## Run
### Getting information about current height on Mainnet nodes (Fork check)
```sh
bb fork-check-mainnet.clj
```### Getting approximate range of blocks by timestamp
```sh
bb get-block-by-time.clj -u https://voting-node-0.we.vote -t 1719532885100
```### Getting information about block range
```sh
bb get-blocks-headers-seq.clj -u https://voting-node-0.we.vote -f 1 -t 1000
```### Getting information about policy owners
```sh
bb privacy-owners.clj -u https://voting-node-0.we.vote -p DP5MggKC8GJuLZshCVNSYwBtE6WTRtMM1YPPdcmwbuNg
```### RIDE Compiler on node
```sh
bb ride-compiler.clj -u https://voting-node-0.we.vote -p simple.ride
```