From e39f3a6f2d500adc2d79608bc318ad5f3e8bcacb Mon Sep 17 00:00:00 2001 From: xiaohu <38450491+qimeila@users.noreply.github.com> Date: Tue, 2 Sep 2025 20:57:13 +0800 Subject: [PATCH 1/2] add AccountAuthenticatorNone --- crypto/authenticator.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/authenticator.go b/crypto/authenticator.go index f23fb5d..dea0bd4 100644 --- a/crypto/authenticator.go +++ b/crypto/authenticator.go @@ -109,6 +109,9 @@ func (ea *AccountAuthenticator) UnmarshalBCS(des *bcs.Deserializer) { ea.Auth = &SingleKeyAuthenticator{} case AccountAuthenticatorMultiKey: ea.Auth = &MultiKeyAuthenticator{} + case AccountAuthenticatorNone: + ea.Auth = &NoAuthenticator{} + return default: des.SetError(fmt.Errorf("unknown AccountAuthenticator kind: %d", kindNum)) return From d327dff51f742326f3d4b90252f8b0538872f215 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 2 Sep 2025 22:11:54 +0800 Subject: [PATCH 2/2] change go mod name --- README.md | 8 ++++---- account.go | 4 ++-- accountResourceRecord.go | 2 +- api/events_test.go | 2 +- api/module.go | 2 +- api/module_test.go | 2 +- api/payloads.go | 2 +- api/payloads_test.go | 2 +- api/signature.go | 4 ++-- api/signature_test.go | 2 +- api/transactions.go | 4 ++-- api/transactions_test.go | 2 +- api/util.go | 4 ++-- api/util_test.go | 2 +- api/writeSet.go | 2 +- api/writeSet_test.go | 2 +- bcs/serializer.go | 2 +- client.go | 2 +- client_test.go | 4 ++-- code.go | 2 +- coinPayloads.go | 2 +- commonPayloads.go | 2 +- compatibility/typescript.go | 2 +- crypto/authenticationKey.go | 4 ++-- crypto/authenticationKey_test.go | 2 +- crypto/authenticator.go | 4 ++-- crypto/authenticator_test.go | 4 ++-- crypto/crypto.go | 2 +- crypto/cryptoMaterial_test.go | 2 +- crypto/ed25519.go | 4 ++-- crypto/ed25519_test.go | 4 ++-- crypto/multiEd25519.go | 4 ++-- crypto/multiEd25519_test.go | 2 +- crypto/multiKey.go | 4 ++-- crypto/multiKey_test.go | 2 +- crypto/privateKey.go | 2 +- crypto/secp256k1.go | 4 ++-- crypto/secp256k1_test.go | 4 ++-- crypto/simulation.go | 2 +- crypto/singleKey.go | 4 ++-- doc.go | 2 +- examples/alternative_signing/main.go | 4 ++-- examples/alternative_signing/main_test.go | 2 +- examples/external_signing/main.go | 4 ++-- examples/external_signing/main_test.go | 2 +- examples/fungible_asset/main.go | 6 +++--- examples/fungible_asset/main_test.go | 2 +- examples/local_abi/main.go | 4 ++-- examples/local_abi/main_test.go | 2 +- examples/multi_agent/main.go | 6 +++--- examples/multi_agent/main_test.go | 2 +- examples/offchain_multisig/main.go | 8 ++++---- examples/offchain_multisig/main_test.go | 2 +- examples/onchain_multisig/main.go | 6 +++--- examples/onchain_multisig/main_test.go | 2 +- examples/orderless_transaction/main.go | 4 ++-- examples/orderless_transaction/main_test.go | 2 +- examples/performance_transaction/main.go | 2 +- examples/performance_transaction/main_test.go | 2 +- examples/remote_abi/main.go | 2 +- examples/remote_abi/main_test.go | 2 +- examples/script_args_transaction/main.go | 6 +++--- examples/script_transaction/main.go | 6 +++--- examples/sending_concurrent_transactions/main.go | 4 ++-- examples/sending_concurrent_transactions/main_test.go | 2 +- examples/sponsored_transaction/main.go | 4 ++-- examples/sponsored_transaction/main_test.go | 2 +- examples/transfer_coin/main.go | 4 ++-- examples/transfer_coin/main_test.go | 2 +- fungible_asset_client.go | 2 +- fungible_asset_client_test.go | 2 +- go.mod | 2 +- .../transactionSubmission/multi_sender_test.go | 4 ++-- .../transactionSubmission/single_sender_test.go | 4 ++-- internal/testutil/test_helpers.go | 2 +- internal/types/account.go | 2 +- internal/types/accountAddress.go | 6 +++--- internal/types/accountAddress_test.go | 4 ++-- internal/types/account_test.go | 2 +- moduleId.go | 2 +- multisig.go | 2 +- nodeClient.go | 8 ++++---- rawTransaction.go | 4 ++-- resource_test.go | 2 +- script.go | 2 +- signedTransaction.go | 4 ++-- signer_test.go | 4 ++-- spec_bcs_test.go | 4 ++-- spec_common_test.go | 2 +- spec_ed25519_test.go | 4 ++-- spec_secp256k1_test.go | 4 ++-- transactionAuthenticator.go | 6 +++--- transactionInnerPayload.go | 2 +- transactionPayload.go | 4 ++-- transactionSubmission.go | 2 +- transactions_test.go | 2 +- typeConversion.go | 6 +++--- typescript_compatibility_test.go | 4 ++-- typetag.go | 2 +- typetag_test.go | 2 +- util.go | 2 +- view.go | 4 ++-- 102 files changed, 161 insertions(+), 161 deletions(-) diff --git a/README.md b/README.md index 1d7203a..d8b41ed 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -[![Go Reference](https://pkg.go.dev/badge/github.com/aptos-labs/aptos-go-sdk.svg)](https://pkg.go.dev/github.com/aptos-labs/aptos-go-sdk) -[![Go Report Card](https://goreportcard.com/badge/github.com/aptos-labs/aptos-go-sdk)](https://goreportcard.com/report/github.com/aptos-labs/aptos-go-sdk) +[![Go Reference](https://pkg.go.dev/badge/github.com/qimeila/aptos-go-sdk.svg)](https://pkg.go.dev/github.com/qimeila/aptos-go-sdk) +[![Go Report Card](https://goreportcard.com/badge/github.com/qimeila/aptos-go-sdk)](https://goreportcard.com/report/github.com/qimeila/aptos-go-sdk) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/aptos-labs/aptos-go-sdk) -[![GitHub Tag](https://img.shields.io/github/v/tag/aptos-labs/aptos-go-sdk?label=Latest%20Version)](https://pkg.go.dev/github.com/aptos-labs/aptos-go-sdk) +[![GitHub Tag](https://img.shields.io/github/v/tag/aptos-labs/aptos-go-sdk?label=Latest%20Version)](https://pkg.go.dev/github.com/qimeila/aptos-go-sdk) # aptos-go-sdk @@ -12,7 +12,7 @@ An SDK for the Aptos blockchain in Go. Add go to your `go.mod` file ```bash -go get -u github.com/aptos-labs/aptos-go-sdk +go get -u github.com/qimeila/aptos-go-sdk ``` ## Where can I see examples? diff --git a/account.go b/account.go index 731fa82..2fcc25e 100644 --- a/account.go +++ b/account.go @@ -1,8 +1,8 @@ package aptos import ( - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/types" ) // Re-export types so that way the user experience doesn't change diff --git a/accountResourceRecord.go b/accountResourceRecord.go index 7346e8a..efe4754 100644 --- a/accountResourceRecord.go +++ b/accountResourceRecord.go @@ -1,7 +1,7 @@ package aptos import ( - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) // AccountResourceRecord DeserializeSequence[AccountResourceRecord](bcs) approximates the Rust side BTreeMap> diff --git a/api/events_test.go b/api/events_test.go index 0213d9c..4e354ee 100644 --- a/api/events_test.go +++ b/api/events_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/api/module.go b/api/module.go index d8c5cfb..f29cf81 100644 --- a/api/module.go +++ b/api/module.go @@ -1,7 +1,7 @@ package api import ( - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" ) // MoveBytecode describes a module, or script, and it's associated ABI as a [MoveModule] diff --git a/api/module_test.go b/api/module_test.go index 6efa4bc..faae57a 100644 --- a/api/module_test.go +++ b/api/module_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/api/payloads.go b/api/payloads.go index 85a48d9..c093e28 100644 --- a/api/payloads.go +++ b/api/payloads.go @@ -3,7 +3,7 @@ package api import ( "encoding/json" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" ) // TransactionPayloadVariant is the type of payload represented in JSON diff --git a/api/payloads_test.go b/api/payloads_test.go index 3f2964e..7d945dd 100644 --- a/api/payloads_test.go +++ b/api/payloads_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/api/signature.go b/api/signature.go index 4a72a95..917fc9b 100644 --- a/api/signature.go +++ b/api/signature.go @@ -3,8 +3,8 @@ package api import ( "encoding/json" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/types" ) // SignatureVariant is the JSON representation of the signature types diff --git a/api/signature_test.go b/api/signature_test.go index 2ec9935..a2d9ded 100644 --- a/api/signature_test.go +++ b/api/signature_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/api/transactions.go b/api/transactions.go index c49b63f..0a8ece7 100644 --- a/api/transactions.go +++ b/api/transactions.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "github.com/aptos-labs/aptos-go-sdk/internal/types" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // TransactionVariant is the type of transaction, all transactions submitted by this SDK are [TransactionVariantUser] diff --git a/api/transactions_test.go b/api/transactions_test.go index 31cfabd..04cc69d 100644 --- a/api/transactions_test.go +++ b/api/transactions_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/api/util.go b/api/util.go index 4ac2e19..4b2062d 100644 --- a/api/util.go +++ b/api/util.go @@ -3,8 +3,8 @@ package api import ( "encoding/json" - "github.com/aptos-labs/aptos-go-sdk/internal/types" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // GUID describes a GUID associated with things like V1 events diff --git a/api/util_test.go b/api/util_test.go index 4c7c816..8bd0158 100644 --- a/api/util_test.go +++ b/api/util_test.go @@ -3,7 +3,7 @@ package api import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/require" ) diff --git a/api/writeSet.go b/api/writeSet.go index 95160ad..2e0798f 100644 --- a/api/writeSet.go +++ b/api/writeSet.go @@ -3,7 +3,7 @@ package api import ( "encoding/json" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" ) // WriteSetVariant is the type of [WriteSet] diff --git a/api/writeSet_test.go b/api/writeSet_test.go index cc4d429..6c29553 100644 --- a/api/writeSet_test.go +++ b/api/writeSet_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/bcs/serializer.go b/bcs/serializer.go index 690ecdd..7dbef86 100644 --- a/bcs/serializer.go +++ b/bcs/serializer.go @@ -8,7 +8,7 @@ import ( "math/big" "slices" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // Serializer is a holding type to serialize a set of items into one shared buffer diff --git a/client.go b/client.go index 7b4ab6c..e6e068e 100644 --- a/client.go +++ b/client.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "github.com/aptos-labs/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk/api" "github.com/hasura/go-graphql-client" ) diff --git a/client_test.go b/client_test.go index bc21d97..4b2dd29 100644 --- a/client_test.go +++ b/client_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/aptos-labs/aptos-go-sdk/api" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk/internal/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/code.go b/code.go index f2b4e85..cd39589 100644 --- a/code.go +++ b/code.go @@ -1,7 +1,7 @@ package aptos import ( - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) // PublishPackagePayloadFromJsonFile publishes code created with the Aptos CLI to publish with it. diff --git a/coinPayloads.go b/coinPayloads.go index 237bcda..75824a8 100644 --- a/coinPayloads.go +++ b/coinPayloads.go @@ -1,6 +1,6 @@ package aptos -import "github.com/aptos-labs/aptos-go-sdk/bcs" +import "github.com/qimeila/aptos-go-sdk/bcs" // CoinTransferPayload builds an EntryFunction payload for transferring coins // diff --git a/commonPayloads.go b/commonPayloads.go index aa3a8b6..8f8f7e5 100644 --- a/commonPayloads.go +++ b/commonPayloads.go @@ -3,7 +3,7 @@ package aptos import ( "errors" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) /** diff --git a/compatibility/typescript.go b/compatibility/typescript.go index a95b570..a44472b 100644 --- a/compatibility/typescript.go +++ b/compatibility/typescript.go @@ -1,6 +1,6 @@ package compatibility -import "github.com/aptos-labs/aptos-go-sdk/bcs" +import "github.com/qimeila/aptos-go-sdk/bcs" // TypeScriptCompatible means the type is able to marshal and unmarshal in BCS to a specific type in TypeScript type TypeScriptCompatible interface { diff --git a/crypto/authenticationKey.go b/crypto/authenticationKey.go index c7655fb..b5e63c8 100644 --- a/crypto/authenticationKey.go +++ b/crypto/authenticationKey.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // region AuthenticationKey diff --git a/crypto/authenticationKey_test.go b/crypto/authenticationKey_test.go index 0b903dc..936bde4 100644 --- a/crypto/authenticationKey_test.go +++ b/crypto/authenticationKey_test.go @@ -3,7 +3,7 @@ package crypto import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/crypto/authenticator.go b/crypto/authenticator.go index dea0bd4..bce1fd7 100644 --- a/crypto/authenticator.go +++ b/crypto/authenticator.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // AccountAuthenticatorImpl an implementation of an authenticator to provide generic verification across multiple types. diff --git a/crypto/authenticator_test.go b/crypto/authenticator_test.go index 3275034..3754e97 100644 --- a/crypto/authenticator_test.go +++ b/crypto/authenticator_test.go @@ -4,8 +4,8 @@ import ( "crypto/ed25519" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/crypto/crypto.go b/crypto/crypto.go index 4be1585..641aef1 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -1,6 +1,6 @@ package crypto -import "github.com/aptos-labs/aptos-go-sdk/bcs" +import "github.com/qimeila/aptos-go-sdk/bcs" // Signer a generic interface for any kind of signing type Signer interface { diff --git a/crypto/cryptoMaterial_test.go b/crypto/cryptoMaterial_test.go index ff2b59d..e96217f 100644 --- a/crypto/cryptoMaterial_test.go +++ b/crypto/cryptoMaterial_test.go @@ -3,7 +3,7 @@ package crypto import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" ) diff --git a/crypto/ed25519.go b/crypto/ed25519.go index 662ce67..4aecb15 100644 --- a/crypto/ed25519.go +++ b/crypto/ed25519.go @@ -7,8 +7,8 @@ import ( "io" "log" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/hdevalence/ed25519consensus" ) diff --git a/crypto/ed25519_test.go b/crypto/ed25519_test.go index 443ab3f..080b918 100644 --- a/crypto/ed25519_test.go +++ b/crypto/ed25519_test.go @@ -4,8 +4,8 @@ import ( "crypto/ed25519" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/crypto/multiEd25519.go b/crypto/multiEd25519.go index 1b4dc93..94edee6 100644 --- a/crypto/multiEd25519.go +++ b/crypto/multiEd25519.go @@ -4,8 +4,8 @@ import ( "crypto/ed25519" "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // region MultiEd25519PublicKey diff --git a/crypto/multiEd25519_test.go b/crypto/multiEd25519_test.go index a9b092b..ace51eb 100644 --- a/crypto/multiEd25519_test.go +++ b/crypto/multiEd25519_test.go @@ -3,7 +3,7 @@ package crypto import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/crypto/multiKey.go b/crypto/multiKey.go index 877c53c..1754ce4 100644 --- a/crypto/multiKey.go +++ b/crypto/multiKey.go @@ -4,8 +4,8 @@ import ( "fmt" "sort" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // region MultiKey diff --git a/crypto/multiKey_test.go b/crypto/multiKey_test.go index 33db24e..37c9c4d 100644 --- a/crypto/multiKey_test.go +++ b/crypto/multiKey_test.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/crypto/privateKey.go b/crypto/privateKey.go index 0c1129a..ddbf4e8 100644 --- a/crypto/privateKey.go +++ b/crypto/privateKey.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // PrivateKeyVariant represents the type of private key diff --git a/crypto/secp256k1.go b/crypto/secp256k1.go index 3b6b9f3..a8a0659 100644 --- a/crypto/secp256k1.go +++ b/crypto/secp256k1.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/decred/dcrd/dcrec/secp256k1/v4" "github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa" ) diff --git a/crypto/secp256k1_test.go b/crypto/secp256k1_test.go index 38f4c0f..73830d5 100644 --- a/crypto/secp256k1_test.go +++ b/crypto/secp256k1_test.go @@ -3,8 +3,8 @@ package crypto import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/crypto/simulation.go b/crypto/simulation.go index 276808e..9a15fc7 100644 --- a/crypto/simulation.go +++ b/crypto/simulation.go @@ -1,6 +1,6 @@ package crypto -import "github.com/aptos-labs/aptos-go-sdk/bcs" +import "github.com/qimeila/aptos-go-sdk/bcs" // region NoAuthenticator diff --git a/crypto/singleKey.go b/crypto/singleKey.go index 5ef62d9..50d3d87 100644 --- a/crypto/singleKey.go +++ b/crypto/singleKey.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // region SingleSigner diff --git a/doc.go b/doc.go index e113c2d..65a7261 100644 --- a/doc.go +++ b/doc.go @@ -43,5 +43,5 @@ // } // // [Aptos Dev Docs]: https://aptos.dev -// [Examples]: https://pkg.go.dev/github.com/aptos-labs/aptos-go-sdk/examples +// [Examples]: https://pkg.go.dev/github.com/qimeila/aptos-go-sdk/examples package aptos diff --git a/examples/alternative_signing/main.go b/examples/alternative_signing/main.go index 7583efd..434ff0f 100644 --- a/examples/alternative_signing/main.go +++ b/examples/alternative_signing/main.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/crypto" "golang.org/x/crypto/ed25519" ) diff --git a/examples/alternative_signing/main_test.go b/examples/alternative_signing/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/alternative_signing/main_test.go +++ b/examples/alternative_signing/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/external_signing/main.go b/examples/external_signing/main.go index 2757bc5..a0fe068 100644 --- a/examples/external_signing/main.go +++ b/examples/external_signing/main.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/crypto" "golang.org/x/crypto/ed25519" ) diff --git a/examples/external_signing/main_test.go b/examples/external_signing/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/external_signing/main_test.go +++ b/examples/external_signing/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/fungible_asset/main.go b/examples/fungible_asset/main.go index c59beeb..cbe24e5 100644 --- a/examples/fungible_asset/main.go +++ b/examples/fungible_asset/main.go @@ -5,9 +5,9 @@ import ( "encoding/json" "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" ) const ( diff --git a/examples/fungible_asset/main_test.go b/examples/fungible_asset/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/fungible_asset/main_test.go +++ b/examples/fungible_asset/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/local_abi/main.go b/examples/local_abi/main.go index db7299c..c52533a 100644 --- a/examples/local_abi/main.go +++ b/examples/local_abi/main.go @@ -4,8 +4,8 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/api" ) const ( diff --git a/examples/local_abi/main_test.go b/examples/local_abi/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/local_abi/main_test.go +++ b/examples/local_abi/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/multi_agent/main.go b/examples/multi_agent/main.go index cfa5871..d2c5279 100644 --- a/examples/multi_agent/main.go +++ b/examples/multi_agent/main.go @@ -4,9 +4,9 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/util" ) const MultiagentScript = "0xa11ceb0b0700000a0601000403040d04110405151b07302f085f2000000001010203040001000306020100010105010704060c060c03030205050001060c010501090003060c05030109010d6170746f735f6163636f756e74067369676e65720a616464726573735f6f660e7472616e736665725f636f696e73000000000000000000000000000000000000000000000000000000000000000102000000010f0a0011000c040a0111000c050b000b050b0238000b010b040b03380102" diff --git a/examples/multi_agent/main_test.go b/examples/multi_agent/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/multi_agent/main_test.go +++ b/examples/multi_agent/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/offchain_multisig/main.go b/examples/offchain_multisig/main.go index c2c4209..ff0ff65 100644 --- a/examples/offchain_multisig/main.go +++ b/examples/offchain_multisig/main.go @@ -5,10 +5,10 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/util" ) const ( diff --git a/examples/offchain_multisig/main_test.go b/examples/offchain_multisig/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/offchain_multisig/main_test.go +++ b/examples/offchain_multisig/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/onchain_multisig/main.go b/examples/onchain_multisig/main.go index 9a17890..31f9ed8 100644 --- a/examples/onchain_multisig/main.go +++ b/examples/onchain_multisig/main.go @@ -6,9 +6,9 @@ import ( "fmt" "time" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/api" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk/bcs" ) const TransferAmount = uint64(1_000_000) diff --git a/examples/onchain_multisig/main_test.go b/examples/onchain_multisig/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/onchain_multisig/main_test.go +++ b/examples/onchain_multisig/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/orderless_transaction/main.go b/examples/orderless_transaction/main.go index db10664..56d0b6f 100644 --- a/examples/orderless_transaction/main.go +++ b/examples/orderless_transaction/main.go @@ -4,8 +4,8 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/bcs" ) const ( diff --git a/examples/orderless_transaction/main_test.go b/examples/orderless_transaction/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/orderless_transaction/main_test.go +++ b/examples/orderless_transaction/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/performance_transaction/main.go b/examples/performance_transaction/main.go index 2f4cd61..a18ac98 100644 --- a/examples/performance_transaction/main.go +++ b/examples/performance_transaction/main.go @@ -5,7 +5,7 @@ import ( "encoding/json" "time" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) // example This example shows you how to improve performance of the transaction submission diff --git a/examples/performance_transaction/main_test.go b/examples/performance_transaction/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/performance_transaction/main_test.go +++ b/examples/performance_transaction/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/remote_abi/main.go b/examples/remote_abi/main.go index fa20977..705d399 100644 --- a/examples/remote_abi/main.go +++ b/examples/remote_abi/main.go @@ -4,7 +4,7 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) const ( diff --git a/examples/remote_abi/main_test.go b/examples/remote_abi/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/remote_abi/main_test.go +++ b/examples/remote_abi/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/script_args_transaction/main.go b/examples/script_args_transaction/main.go index e8d4818..dc6ba2a 100644 --- a/examples/script_args_transaction/main.go +++ b/examples/script_args_transaction/main.go @@ -4,9 +4,9 @@ import ( "fmt" "math/big" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) /* diff --git a/examples/script_transaction/main.go b/examples/script_transaction/main.go index 1c79511..ded0cc1 100644 --- a/examples/script_transaction/main.go +++ b/examples/script_transaction/main.go @@ -4,9 +4,9 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" ) const testEd25519PrivateKey = "ed25519-priv-0xc5338cd251c22daa8c9c9cc94f498cc8a5c7e1d2e75287a5dda91096fe64efa5" diff --git a/examples/sending_concurrent_transactions/main.go b/examples/sending_concurrent_transactions/main.go index cc37561..242e7cd 100644 --- a/examples/sending_concurrent_transactions/main.go +++ b/examples/sending_concurrent_transactions/main.go @@ -4,8 +4,8 @@ package main import ( "time" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/api" ) func setup(networkConfig aptos.NetworkConfig) (*aptos.Client, aptos.TransactionSigner) { diff --git a/examples/sending_concurrent_transactions/main_test.go b/examples/sending_concurrent_transactions/main_test.go index d544ea1..9e90e10 100644 --- a/examples/sending_concurrent_transactions/main_test.go +++ b/examples/sending_concurrent_transactions/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/sponsored_transaction/main.go b/examples/sponsored_transaction/main.go index b0cde8d..c22820b 100644 --- a/examples/sponsored_transaction/main.go +++ b/examples/sponsored_transaction/main.go @@ -4,8 +4,8 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/crypto" ) const ( diff --git a/examples/sponsored_transaction/main_test.go b/examples/sponsored_transaction/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/sponsored_transaction/main_test.go +++ b/examples/sponsored_transaction/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/examples/transfer_coin/main.go b/examples/transfer_coin/main.go index ef70e58..a02710f 100644 --- a/examples/transfer_coin/main.go +++ b/examples/transfer_coin/main.go @@ -4,8 +4,8 @@ package main import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/bcs" ) const ( diff --git a/examples/transfer_coin/main_test.go b/examples/transfer_coin/main_test.go index 47f00b8..1f19e26 100644 --- a/examples/transfer_coin/main_test.go +++ b/examples/transfer_coin/main_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) func Test_Main(t *testing.T) { diff --git a/fungible_asset_client.go b/fungible_asset_client.go index addb14f..949f533 100644 --- a/fungible_asset_client.go +++ b/fungible_asset_client.go @@ -5,7 +5,7 @@ import ( "math/big" "strconv" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // FungibleAssetClient This is an example client around a single fungible asset diff --git a/fungible_asset_client_test.go b/fungible_asset_client_test.go index 807dc08..0ede9c7 100644 --- a/fungible_asset_client_test.go +++ b/fungible_asset_client_test.go @@ -4,7 +4,7 @@ import ( "math/big" "testing" - "github.com/aptos-labs/aptos-go-sdk/internal/types" + "github.com/qimeila/aptos-go-sdk/internal/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/go.mod b/go.mod index 739cc4d..1986009 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/aptos-labs/aptos-go-sdk +module github.com/qimeila/aptos-go-sdk go 1.23.0 diff --git a/integration_test/transactionSubmission/multi_sender_test.go b/integration_test/transactionSubmission/multi_sender_test.go index a8f9c92..743063f 100644 --- a/integration_test/transactionSubmission/multi_sender_test.go +++ b/integration_test/transactionSubmission/multi_sender_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/internal/testutil" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/internal/testutil" ) func TestBuildSignAndSubmitTransactionsWithSignFnAndWorkerPoolWithMultipleSenders(t *testing.T) { diff --git a/integration_test/transactionSubmission/single_sender_test.go b/integration_test/transactionSubmission/single_sender_test.go index e0dbd70..38313bf 100644 --- a/integration_test/transactionSubmission/single_sender_test.go +++ b/integration_test/transactionSubmission/single_sender_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/aptos-labs/aptos-go-sdk" - "github.com/aptos-labs/aptos-go-sdk/internal/testutil" + "github.com/qimeila/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk/internal/testutil" ) func TestBuildSignAndSubmitTransactionsWithSignFnAndWorkerPoolWithOneSender(t *testing.T) { diff --git a/internal/testutil/test_helpers.go b/internal/testutil/test_helpers.go index d7c9f8f..d149013 100644 --- a/internal/testutil/test_helpers.go +++ b/internal/testutil/test_helpers.go @@ -3,7 +3,7 @@ package testutil import ( "testing" - "github.com/aptos-labs/aptos-go-sdk" + "github.com/qimeila/aptos-go-sdk" ) // TestClients holds the clients needed for testing diff --git a/internal/types/account.go b/internal/types/account.go index 1ae78c4..3cd3319 100644 --- a/internal/types/account.go +++ b/internal/types/account.go @@ -5,7 +5,7 @@ import ( "errors" "strings" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/crypto" ) // Account represents an on-chain account, with an associated signer, which must be a [crypto.Signer] diff --git a/internal/types/accountAddress.go b/internal/types/accountAddress.go index 34e0349..200c31c 100644 --- a/internal/types/accountAddress.go +++ b/internal/types/accountAddress.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // AccountAddress a 32-byte representation of an on-chain address diff --git a/internal/types/accountAddress_test.go b/internal/types/accountAddress_test.go index bfade63..2c642d6 100644 --- a/internal/types/accountAddress_test.go +++ b/internal/types/accountAddress_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/types/account_test.go b/internal/types/account_test.go index ee63246..883ce08 100644 --- a/internal/types/account_test.go +++ b/internal/types/account_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/moduleId.go b/moduleId.go index e7dd1b0..32c1b3c 100644 --- a/moduleId.go +++ b/moduleId.go @@ -1,7 +1,7 @@ package aptos import ( - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) // ModuleId the identifier for a module e.g. 0x1::coin diff --git a/multisig.go b/multisig.go index 3de975c..c6c0918 100644 --- a/multisig.go +++ b/multisig.go @@ -3,7 +3,7 @@ package aptos import ( "errors" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) // FetchNextMultisigAddress retrieves the next multisig address to be created from the given account diff --git a/nodeClient.go b/nodeClient.go index bb31753..a4a1613 100644 --- a/nodeClient.go +++ b/nodeClient.go @@ -15,10 +15,10 @@ import ( "strconv" "time" - "github.com/aptos-labs/aptos-go-sdk/api" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/util" ) const ( diff --git a/rawTransaction.go b/rawTransaction.go index 649d49f..a9364e8 100644 --- a/rawTransaction.go +++ b/rawTransaction.go @@ -5,8 +5,8 @@ import ( "fmt" "sync" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" "golang.org/x/crypto/sha3" ) diff --git a/resource_test.go b/resource_test.go index 12a60da..47b2954 100644 --- a/resource_test.go +++ b/resource_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/script.go b/script.go index c2df689..ad5543d 100644 --- a/script.go +++ b/script.go @@ -4,7 +4,7 @@ import ( "fmt" "math/big" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) // region Script diff --git a/signedTransaction.go b/signedTransaction.go index 2bf5761..c8e76d2 100644 --- a/signedTransaction.go +++ b/signedTransaction.go @@ -3,8 +3,8 @@ package aptos import ( "errors" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" ) // SignedTransactionVariant is the variant for a signed transaction diff --git a/signer_test.go b/signer_test.go index 0b28acd..0450011 100644 --- a/signer_test.go +++ b/signer_test.go @@ -4,8 +4,8 @@ import ( "errors" "math/rand/v2" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/util" ) /* This is a collection of test signers, that don't make sense in the real world, but are used for testing */ diff --git a/spec_bcs_test.go b/spec_bcs_test.go index 4c21090..360d237 100644 --- a/spec_bcs_test.go +++ b/spec_bcs_test.go @@ -10,8 +10,8 @@ import ( "strings" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/cucumber/godog" ) diff --git a/spec_common_test.go b/spec_common_test.go index 4ed422c..58fb56e 100644 --- a/spec_common_test.go +++ b/spec_common_test.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // TODO Add specific keys that must be deserialized and compared diff --git a/spec_ed25519_test.go b/spec_ed25519_test.go index 423c543..639fbb2 100644 --- a/spec_ed25519_test.go +++ b/spec_ed25519_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/spec_secp256k1_test.go b/spec_secp256k1_test.go index 80d9b7c..50b431b 100644 --- a/spec_secp256k1_test.go +++ b/spec_secp256k1_test.go @@ -3,8 +3,8 @@ package aptos import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" "github.com/decred/dcrd/dcrec/secp256k1/v4" "github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa" "github.com/stretchr/testify/assert" diff --git a/transactionAuthenticator.go b/transactionAuthenticator.go index a982109..20828be 100644 --- a/transactionAuthenticator.go +++ b/transactionAuthenticator.go @@ -3,9 +3,9 @@ package aptos import ( "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/crypto" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/crypto" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // region TransactionAuthenticator diff --git a/transactionInnerPayload.go b/transactionInnerPayload.go index d8075d6..74161f6 100644 --- a/transactionInnerPayload.go +++ b/transactionInnerPayload.go @@ -3,7 +3,7 @@ package aptos import ( "errors" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) type TransactionInnerPayload struct { diff --git a/transactionPayload.go b/transactionPayload.go index 5ef83f3..db01f40 100644 --- a/transactionPayload.go +++ b/transactionPayload.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // region TransactionPayload diff --git a/transactionSubmission.go b/transactionSubmission.go index 19cd252..07ba891 100644 --- a/transactionSubmission.go +++ b/transactionSubmission.go @@ -5,7 +5,7 @@ import ( "fmt" "sync" - "github.com/aptos-labs/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk/api" ) // TransactionSubmissionType is the counter for an enum diff --git a/transactions_test.go b/transactions_test.go index addd085..d6e1406 100644 --- a/transactions_test.go +++ b/transactions_test.go @@ -3,7 +3,7 @@ package aptos import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/typeConversion.go b/typeConversion.go index 052493a..b1d18f9 100644 --- a/typeConversion.go +++ b/typeConversion.go @@ -7,9 +7,9 @@ import ( "math/big" "strconv" - "github.com/aptos-labs/aptos-go-sdk/api" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/api" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) func EntryFunctionFromAbi(abi any, moduleAddress AccountAddress, moduleName string, functionName string, typeArgs []any, args []any, options ...any) (*EntryFunction, error) { diff --git a/typescript_compatibility_test.go b/typescript_compatibility_test.go index a074889..a286f4a 100644 --- a/typescript_compatibility_test.go +++ b/typescript_compatibility_test.go @@ -3,8 +3,8 @@ package aptos import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/typetag.go b/typetag.go index ed2bb09..7d8fe5f 100644 --- a/typetag.go +++ b/typetag.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" ) // region TypeTag diff --git a/typetag_test.go b/typetag_test.go index f27b69f..b154aaa 100644 --- a/typetag_test.go +++ b/typetag_test.go @@ -3,7 +3,7 @@ package aptos import ( "testing" - "github.com/aptos-labs/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/util.go b/util.go index 9b3b67f..640364a 100644 --- a/util.go +++ b/util.go @@ -3,7 +3,7 @@ package aptos import ( "math/big" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // -- Note these are copied from internal/util/util.go to prevent package loops, but still allow devs to use it diff --git a/view.go b/view.go index 77ff28d..5309e37 100644 --- a/view.go +++ b/view.go @@ -1,8 +1,8 @@ package aptos import ( - "github.com/aptos-labs/aptos-go-sdk/bcs" - "github.com/aptos-labs/aptos-go-sdk/internal/util" + "github.com/qimeila/aptos-go-sdk/bcs" + "github.com/qimeila/aptos-go-sdk/internal/util" ) // ViewPayload is a payload for a view function