Skip to content

Commit

Permalink
Pub.dev publish (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeragjoshi authored Nov 3, 2023
1 parent bc47fd8 commit be94fe7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Bech32m
# Bech32m_i
This is a fork of [gilnobrega/bech32m](https://github.com/gilnobrega/bech32m) to fix bug with convert.

An implementation of the [BIP350 spec] for Segwit Bech32m address format, adapted to work with the Chia Blockchain and other PoST blockchains.

This is a fork of [@haarts/bech32](https://github.com/haarts/bech32)

## Exceptions

The specification defines a myriad of cases in which decoding and encoding
Expand All @@ -16,7 +15,7 @@ Add it to your `pubspec.yaml`:

```
dependencies:
bech32m: any
bech32m_i: any
```

## Licence overview
Expand All @@ -30,4 +29,4 @@ always remain free for everybody to access.
## Thanks

[BIP350 spec]: https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki
[BOLT #11 spec]: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md
[BOLT #11 spec]: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md
2 changes: 1 addition & 1 deletion example/main.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:bech32m/bech32m.dart';
import 'package:bech32m_i/bech32m_i.dart';

//ignore_for_file: avoid_print
void main() {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: bech32m
name: bech32m_i
version: 0.2.2
description: Library implementing Bitcoins BIP350 (Bech32m encoding) specification in a Flutter friendly fashion.
homepage: https://github.com/joaquimguimaraes/bech32m
repository: https://github.com/irulast/bech32m_i

dependencies:
convert: 3.1.1
convert: ^3.1.1
hex: ^0.2.0

dev_dependencies:
Expand Down
3 changes: 1 addition & 2 deletions test/bech32_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:bech32m_i/bech32m_i.dart';
import 'package:test/test.dart';

import 'package:bech32m/bech32m.dart';

void main() {
group('bech32 with', () {
group('valid test vectors from specification', () {
Expand Down
3 changes: 1 addition & 2 deletions test/segwit_test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import 'package:bech32m_i/bech32m_i.dart';
import 'package:hex/hex.dart';
import 'package:test/test.dart';

import 'package:bech32m/bech32m.dart';

void main() {
group('segwit with', () {
group('valid test vectors from specification', () {
Expand Down

0 comments on commit be94fe7

Please sign in to comment.