Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mpwsh/bech32-gen

bech32 string generator
https://github.com/mpwsh/bech32-gen

Last synced: 10 days ago
JSON representation

bech32 string generator

Awesome Lists containing this project

README

        

### Edit

Open `src/main.rs` and update the size of the string you want to generate.

```rust
//Update with the size you want
let size = 10 * 1024 / 8;
```

Optional: Update the prefix, which is `offer` now.

```rust
let encoded = encode_puzzle_hash(&hex, "offer")?;
```

### Run

```bash
cargo run
```

### Output

```text
offer1d9jsq9c8awt5uyc9csw8xtmca8kq36ta3cpxr6sh73za88ep5jpmn7ez9g5c4em3n53787pgldmle9qgx4p3lq9c4cvn7fny8mgm95sutd9gpcch0gcw6sjtgklygwdwavh3w04s8wpzdpam0ynsp2hzur4hudckd68lzesprjxqddmfa5yrna63rea8cv5ay0hzpx6g89g06vjxg4c0qpukz7ul9x03jyg5qrc5rrrvzdv0tk5w33e8ptkjsu6j4kwpn9p245dncrnvc3fw404lcx872dus5rvwkl3fh0d7vywqg92p907wce9y0xn2xk4rn9aq3xfl2h2uvyz2hmwxmu40qsfglluf2hunm79gxu9l60kf86lee25h4sefs5nf6ya8mz0n7yhj5lsnt33czu78zde6n0nt6zn407aeul68uxc6770mycn4u5t2afklw6jq5uykpqx0shu2erh9fjlmztgprcy9cr8upkjcc8d0v6c7ungr02yfxrqht4pnf8xx6mvr7us93v22xd8j87l8t4e67dqn8etlwvghuc74yap000nquj8a2flgzqkceex2jj49thfetf6tsmlgjng8s7n7pjh9hnm694s8m8cd4fa2gre32v9j4fr4fn76phnma2uhulqdq3khg9zwz6jq97zsle724hhy3myt72uej9muqztzejn0dd0hkr60rgky8ykfycawyjgxl9dsayux7rqr3rj79l825nrhw3ly34dyarf5uy8vdwmg9qvesgwra5anudqre7a0d69l02lfdnm7a5mslvcmyj30tm4f839a5gjv2as5sk9wgehfzvzwss0celtpghwer2tn9m4jz4ar6z98x99tsd3gn7t664krk6yspcjjwa4q8k8ytwhy9h5hrhuh3w66jy32mkplwuugurw9wtlzvvkhcud8axz2pcl9l5zmqye6rymuwakh3yf30adtedmeeq6g4cafr9wp5wamduzj9r4zw2t6dvfwphm8uhv72u4nhd6mdx34y6qfpz8ug8a4z3qv8zlz5pe8e6uhjxkpv5czk99rvff2k90d38a2v07xfklzwpnqes603wa3vulq88p95wsx4ysw4ftr5g07janzdfk3yug2dyfzyhxh3dyrzldrzmx8v07avzn5yg9akq6ugnefwkqswds27dn8u0f2lhp42ylhy4r9ydyfcz6s3s3hq47qvezkck202d6kzcpt25g2r4hrts9nceehfud8um6wtmk5wdcnjy9hejstc8ncu7yn0xxam0yu4p6d9ymrjxd2qlcn20ncdgtlvd58y8er839mrf66jaf3cvh7wya9f7nljtrhya392v8x0n7p0xm07ymkcwngru9xdpvjde2rypkd226gaue82qpg260u449tmdw3y8tje66040zf84z8sxngnexp30stkd5drqspl0p3hq9fqvjdrta8kc4xk4x23p7thwkxqxueaf0hs0ey8wtf2qm2xxyev9qppmtz029evyygsrkq65h5v4ceyfx42wjk5cmxc7ruaxqhzpjzhsfgdkwf73p4u2dj65htkdf2ark0j7rhze7lf9wal9f4wml3wa8ufkcher0nnapygt6cfezfegk3mgttnt52udp0e4sgsp3ft5c237e3cq6vc64qx03asmr2n33g4wt7zyzym4sns968fxvkn7aw48uw6fcee0pae5ugtezaspz50t9gqmy49zkuqqjzfhddlda48xhgak9r8mxlpnv36m7qq4dk3dkljnpu3j7mhrjgcnwj4rnwd6h5aa4a0dzcns6qek8gstcet6du2xt3w88a8e9m8xjmlsqfygzfvj630744pe3qax3gpyzwwrldxuyvpvslgc5umdau2k6qyrg255rkycra7s2542lrsy3km7wvn24nqfekr3d6nn9kyhu0aqmy7a9r7eu47p76puenwvyzgp66wt7w8h5puut90e4en2ltmqmvz3adl6xqfzms2mf00ep7w3y896m29sgyl2sztxfl6ntxjvyjqk
Valid bech32: true
```