Skip to content

Commit

Permalink
migrate to the new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisNajmark committed Dec 21, 2023
1 parent 1c93380 commit eaf44ed
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 32 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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)



Expand All @@ -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)



Expand All @@ -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)
12 changes: 6 additions & 6 deletions cmd/XrpinalsMintTool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion conf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package conf
import (
"encoding/json"
"fmt"
"github.com/Xrpinals-Protocol/XrpinalsMintTool/utils"
"github.com/xrpinals/XrpinalsMintTool/utils"
"io/ioutil"
"sync"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Xrpinals-Protocol/XrpinalsMintTool
module github.com/xrpinals/XrpinalsMintTool

go 1.16

Expand Down
6 changes: 3 additions & 3 deletions key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion logger/logger.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
10 changes: 5 additions & 5 deletions mining/mining.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion mining/mining_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tx_builder/serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion tx_builder/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"github.com/Xrpinals-Protocol/XrpinalsMintTool/utils"
"github.com/xrpinals/XrpinalsMintTool/utils"
"strconv"
"strings"
"testing"
Expand Down
4 changes: 2 additions & 2 deletions tx_builder/transaction.go
Original file line number Diff line number Diff line change
@@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion tx_builder/tx_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"github.com/Xrpinals-Protocol/XrpinalsMintTool/utils"
"github.com/xrpinals/XrpinalsMintTool/utils"
"strconv"
"strings"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion tx_builder/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eaf44ed

Please sign in to comment.