From eaf44ed44613e9d1b6963114568c9d568beefc38 Mon Sep 17 00:00:00 2001 From: LuisNajmark Date: Thu, 21 Dec 2023 15:20:59 +0800 Subject: [PATCH] migrate to the new repo --- README.md | 16 ++++++++-------- cmd/XrpinalsMintTool/main.go | 12 ++++++------ conf/config.go | 2 +- go.mod | 2 +- key/key.go | 6 +++--- logger/logger.go | 2 +- mining/mining.go | 10 +++++----- mining/mining_test.go | 2 +- tx_builder/serialize.go | 2 +- tx_builder/sign_test.go | 2 +- tx_builder/transaction.go | 4 ++-- tx_builder/tx_builder_test.go | 2 +- tx_builder/types.go | 2 +- 13 files changed, 32 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 8150812..e5f2c99 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # XrpinalsMintTool -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/xrpinals.jpg) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/xrpinals.jpg) ### How To Use @@ -21,7 +21,7 @@ Usage of import_key: private key of address mnUbdaJcTiBUARHGMZpQ5dVkrcj1XUMame imported ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/import-key.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/import-key.png) * Check if the Address is in Storage @@ -38,7 +38,7 @@ Usage of check_address: address mnUbdaJcTiBUARHGMZpQ5dVkrcj1XUMame is in the storage ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/check-address.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/check-address.png) * Get balance of Address @@ -57,7 +57,7 @@ Usage of get_balance: balance: 0 ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/get-balance.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/get-balance.png) * Get Cross Chain Deposit Address @@ -75,7 +75,7 @@ Usage of get_deposit_address: BTC deposit address: 2MvSkSdKtHC253TnDmmBj8uwWjcyeQ5sQkK ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/get-deposit-address.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/get-deposit-address.png) * Mint Brc20 Asset @@ -95,7 +95,7 @@ Usage of mint: mining success, txHash: 03d8216ce49753cbe6ae7a1a65e08b4fe841d5b6 ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/mint.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/mint.png) @@ -121,7 +121,7 @@ Usage of mint: transfer success, txHash: 6eb8918df731f29952cc00a4ae77c0a07e907742 ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/transfer.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/transfer.png) @@ -145,4 +145,4 @@ mint count: 0 last mint time: "2023-12-18T15:30:00" ``` -![](https://github.com/Xrpinals-Protocol/XrpinalsMintTool/blob/main/assets/get-mint-info.png) +![](https://github.com/xrpinals/XrpinalsMintTool/blob/main/assets/get-mint-info.png) diff --git a/cmd/XrpinalsMintTool/main.go b/cmd/XrpinalsMintTool/main.go index d3fb1c6..7205ded 100644 --- a/cmd/XrpinalsMintTool/main.go +++ b/cmd/XrpinalsMintTool/main.go @@ -3,14 +3,14 @@ package main import ( "flag" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/conf" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/key" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/logger" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/mining" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/tx_builder" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" "github.com/fatih/color" "github.com/shopspring/decimal" + "github.com/xrpinals/XrpinalsMintTool/conf" + "github.com/xrpinals/XrpinalsMintTool/key" + "github.com/xrpinals/XrpinalsMintTool/logger" + "github.com/xrpinals/XrpinalsMintTool/mining" + "github.com/xrpinals/XrpinalsMintTool/tx_builder" + "github.com/xrpinals/XrpinalsMintTool/utils" "math" "os" ) diff --git a/conf/config.go b/conf/config.go index a356927..e980384 100644 --- a/conf/config.go +++ b/conf/config.go @@ -3,7 +3,7 @@ package conf import ( "encoding/json" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" + "github.com/xrpinals/XrpinalsMintTool/utils" "io/ioutil" "sync" ) diff --git a/go.mod b/go.mod index 17a5864..f6c3641 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Xrpinals-Protocol/XrpinalsMintTool +module github.com/xrpinals/XrpinalsMintTool go 1.16 diff --git a/key/key.go b/key/key.go index cf09bb9..a117fd6 100644 --- a/key/key.go +++ b/key/key.go @@ -2,10 +2,10 @@ package key import ( "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/conf" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/tx_builder" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" "github.com/syndtr/goleveldb/leveldb" + "github.com/xrpinals/XrpinalsMintTool/conf" + "github.com/xrpinals/XrpinalsMintTool/tx_builder" + "github.com/xrpinals/XrpinalsMintTool/utils" ) func ImportPrivateKey(key string) (string, error) { diff --git a/logger/logger.go b/logger/logger.go index 92014b9..73da0e0 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -1,8 +1,8 @@ package logger import ( - "github.com/Xrpinals-Protocol/XrpinalsMintTool/conf" "github.com/siddontang/go-log/log" + "github.com/xrpinals/XrpinalsMintTool/conf" "os" "strings" ) diff --git a/mining/mining.go b/mining/mining.go index 04eb3e1..b4f516d 100644 --- a/mining/mining.go +++ b/mining/mining.go @@ -5,11 +5,11 @@ import ( "encoding/hex" "errors" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/bitcoin" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/conf" - . "github.com/Xrpinals-Protocol/XrpinalsMintTool/logger" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/tx_builder" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" + "github.com/xrpinals/XrpinalsMintTool/bitcoin" + "github.com/xrpinals/XrpinalsMintTool/conf" + . "github.com/xrpinals/XrpinalsMintTool/logger" + "github.com/xrpinals/XrpinalsMintTool/tx_builder" + "github.com/xrpinals/XrpinalsMintTool/utils" "math/big" "runtime" "strconv" diff --git a/mining/mining_test.go b/mining/mining_test.go index bcc0c6c..eeb3e38 100644 --- a/mining/mining_test.go +++ b/mining/mining_test.go @@ -3,7 +3,7 @@ package mining import ( "crypto/sha256" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/bitcoin" + "github.com/xrpinals/XrpinalsMintTool/bitcoin" "math/big" "math/rand" "runtime" diff --git a/tx_builder/serialize.go b/tx_builder/serialize.go index 12302fb..98c06b4 100644 --- a/tx_builder/serialize.go +++ b/tx_builder/serialize.go @@ -5,8 +5,8 @@ import ( "encoding/base64" "encoding/binary" "encoding/hex" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/property" "github.com/bitnexty/secp256k1-go" + "github.com/xrpinals/XrpinalsMintTool/property" "strconv" "strings" ) diff --git a/tx_builder/sign_test.go b/tx_builder/sign_test.go index f482b7a..fd01719 100644 --- a/tx_builder/sign_test.go +++ b/tx_builder/sign_test.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" + "github.com/xrpinals/XrpinalsMintTool/utils" "strconv" "strings" "testing" diff --git a/tx_builder/transaction.go b/tx_builder/transaction.go index 1535635..597579a 100644 --- a/tx_builder/transaction.go +++ b/tx_builder/transaction.go @@ -1,8 +1,8 @@ package tx_builder import ( - "github.com/Xrpinals-Protocol/XrpinalsMintTool/conf" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" + "github.com/xrpinals/XrpinalsMintTool/conf" + "github.com/xrpinals/XrpinalsMintTool/utils" "strconv" ) diff --git a/tx_builder/tx_builder_test.go b/tx_builder/tx_builder_test.go index fd60d75..cdb9158 100644 --- a/tx_builder/tx_builder_test.go +++ b/tx_builder/tx_builder_test.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/utils" + "github.com/xrpinals/XrpinalsMintTool/utils" "strconv" "strings" "testing" diff --git a/tx_builder/types.go b/tx_builder/types.go index 796f34b..a92d3fd 100644 --- a/tx_builder/types.go +++ b/tx_builder/types.go @@ -4,8 +4,8 @@ import ( "database/sql/driver" "encoding/hex" "fmt" - "github.com/Xrpinals-Protocol/XrpinalsMintTool/property" "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/xrpinals/XrpinalsMintTool/property" "math/big" "math/rand" "reflect"