diff --git a/LICENSE b/LICENSE
index 1681d499..f56c0db6 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2021 portto
+Copyright (c) 2023 blocto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index fb2dcdd7..a618df90 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
Solana Go SDK
# Guide
@@ -14,7 +14,7 @@
### Installing
```sh
-go get -v github.com/portto/solana-go-sdk
+go get -v github.com/blocto/solana-go-sdk
```
### Example
@@ -29,8 +29,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
@@ -64,8 +64,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/client/client.go b/client/client.go
index 76217160..7cc3f681 100644
--- a/client/client.go
+++ b/client/client.go
@@ -5,9 +5,9 @@ import (
"encoding/base64"
"fmt"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
type Client struct {
diff --git a/client/client_test.go b/client/client_test.go
index 4d41969b..d821e456 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -4,7 +4,7 @@ import (
"errors"
"testing"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
"github.com/stretchr/testify/assert"
)
diff --git a/client/rpc.go b/client/rpc.go
index fb49f561..0cf27387 100644
--- a/client/rpc.go
+++ b/client/rpc.go
@@ -5,8 +5,8 @@ import (
"fmt"
"strconv"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func process[A any, B any](fetch func() (rpc.JsonRpcResponse[A], error), convert func(A) (B, error)) (B, error) {
diff --git a/client/rpc_get_account_info.go b/client/rpc_get_account_info.go
index c4126fb5..f7d2daa2 100644
--- a/client/rpc_get_account_info.go
+++ b/client/rpc_get_account_info.go
@@ -5,8 +5,8 @@ import (
"encoding/base64"
"fmt"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type AccountInfo struct {
diff --git a/client/rpc_get_account_info_test.go b/client/rpc_get_account_info_test.go
index 02ef7ad9..90d22019 100644
--- a/client/rpc_get_account_info_test.go
+++ b/client/rpc_get_account_info_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetAccountInfo(t *testing.T) {
diff --git a/client/rpc_get_balance.go b/client/rpc_get_balance.go
index 4181b41a..0fa7ecb0 100644
--- a/client/rpc_get_balance.go
+++ b/client/rpc_get_balance.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetBalanceConfig struct {
diff --git a/client/rpc_get_balance_test.go b/client/rpc_get_balance_test.go
index 38da888d..64e4ab02 100644
--- a/client/rpc_get_balance_test.go
+++ b/client/rpc_get_balance_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetBalance(t *testing.T) {
diff --git a/client/rpc_get_block.go b/client/rpc_get_block.go
index ccbf09cd..0c252601 100644
--- a/client/rpc_get_block.go
+++ b/client/rpc_get_block.go
@@ -5,10 +5,10 @@ import (
"fmt"
"time"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
type GetBlockConfig struct {
diff --git a/client/rpc_get_block_test.go b/client/rpc_get_block_test.go
index 24c58568..200f2b38 100644
--- a/client/rpc_get_block_test.go
+++ b/client/rpc_get_block_test.go
@@ -5,11 +5,11 @@ import (
"testing"
"time"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestClient_BlockWithConfig(t *testing.T) {
diff --git a/client/rpc_get_block_time.go b/client/rpc_get_block_time.go
index 38ae4a69..d81f6046 100644
--- a/client/rpc_get_block_time.go
+++ b/client/rpc_get_block_time.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
// GetBlockTime returns the estimated production time of a block.
diff --git a/client/rpc_get_block_time_test.go b/client/rpc_get_block_time_test.go
index f0d3ab9c..041e1219 100644
--- a/client/rpc_get_block_time_test.go
+++ b/client/rpc_get_block_time_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestClient_GetBlockTime(t *testing.T) {
diff --git a/client/rpc_get_cluster_node.go b/client/rpc_get_cluster_node.go
index b2dc95ce..7b5969b7 100644
--- a/client/rpc_get_cluster_node.go
+++ b/client/rpc_get_cluster_node.go
@@ -3,8 +3,8 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type ClusterNode struct {
diff --git a/client/rpc_get_cluster_node_test.go b/client/rpc_get_cluster_node_test.go
index 6c17b1d5..0ba8b4e5 100644
--- a/client/rpc_get_cluster_node_test.go
+++ b/client/rpc_get_cluster_node_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestClient_GetClusterNodes(t *testing.T) {
diff --git a/client/rpc_get_fee_for_message.go b/client/rpc_get_fee_for_message.go
index 1969eed7..b2d2a665 100644
--- a/client/rpc_get_fee_for_message.go
+++ b/client/rpc_get_fee_for_message.go
@@ -5,8 +5,8 @@ import (
"encoding/base64"
"fmt"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
type GetFeeForMessageConfig struct {
diff --git a/client/rpc_get_fee_for_message_test.go b/client/rpc_get_fee_for_message_test.go
index 88c7da2d..47287d39 100644
--- a/client/rpc_get_fee_for_message_test.go
+++ b/client/rpc_get_fee_for_message_test.go
@@ -5,10 +5,10 @@ import (
"encoding/base64"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestClient_GetFeeForMessage(t *testing.T) {
diff --git a/client/rpc_get_first_available_block.go b/client/rpc_get_first_available_block.go
index 1bfbe07c..cee0e70d 100644
--- a/client/rpc_get_first_available_block.go
+++ b/client/rpc_get_first_available_block.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
// GetFirstAvailableBlock returns the slot of the lowest confirmed block that has not been purged from the ledger
diff --git a/client/rpc_get_first_available_block_test.go b/client/rpc_get_first_available_block_test.go
index d927c52f..08dcf97c 100644
--- a/client/rpc_get_first_available_block_test.go
+++ b/client/rpc_get_first_available_block_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestClient_GetFirstAvailableBlock(t *testing.T) {
diff --git a/client/rpc_get_genesis_hash.go b/client/rpc_get_genesis_hash.go
index 05625fd8..d60abb30 100644
--- a/client/rpc_get_genesis_hash.go
+++ b/client/rpc_get_genesis_hash.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
// GetGenesisHash returns the genesis hash
diff --git a/client/rpc_get_genesis_hash_test.go b/client/rpc_get_genesis_hash_test.go
index f1889fa3..673d16a8 100644
--- a/client/rpc_get_genesis_hash_test.go
+++ b/client/rpc_get_genesis_hash_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestClient_GetGenesisHash(t *testing.T) {
diff --git a/client/rpc_get_identity.go b/client/rpc_get_identity.go
index f8b27572..b6d10624 100644
--- a/client/rpc_get_identity.go
+++ b/client/rpc_get_identity.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
// GetIdentity returns the identity pubkey for the current node
diff --git a/client/rpc_get_identity_test.go b/client/rpc_get_identity_test.go
index 2f8988e1..ca9b80ba 100644
--- a/client/rpc_get_identity_test.go
+++ b/client/rpc_get_identity_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetIdentity(t *testing.T) {
diff --git a/client/rpc_get_latest_blockhash.go b/client/rpc_get_latest_blockhash.go
index a6f40268..360fc7b2 100644
--- a/client/rpc_get_latest_blockhash.go
+++ b/client/rpc_get_latest_blockhash.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetLatestBlockhashValue struct {
diff --git a/client/rpc_get_latest_blockhash_test.go b/client/rpc_get_latest_blockhash_test.go
index c53189cd..6004b16b 100644
--- a/client/rpc_get_latest_blockhash_test.go
+++ b/client/rpc_get_latest_blockhash_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetLatestBlockhash(t *testing.T) {
diff --git a/client/rpc_get_minimum_balance_for_rent_exemption.go b/client/rpc_get_minimum_balance_for_rent_exemption.go
index 61f50ecc..0be285d9 100644
--- a/client/rpc_get_minimum_balance_for_rent_exemption.go
+++ b/client/rpc_get_minimum_balance_for_rent_exemption.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetMinimumBalanceForRentExemptionConfig struct {
diff --git a/client/rpc_get_minimum_balance_for_rent_exemption_test.go b/client/rpc_get_minimum_balance_for_rent_exemption_test.go
index 2e436c0c..057f9412 100644
--- a/client/rpc_get_minimum_balance_for_rent_exemption_test.go
+++ b/client/rpc_get_minimum_balance_for_rent_exemption_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetMinimumBalanceForRentExemption(t *testing.T) {
diff --git a/client/rpc_get_multiple_accounts.go b/client/rpc_get_multiple_accounts.go
index 3930326d..e5b1377d 100644
--- a/client/rpc_get_multiple_accounts.go
+++ b/client/rpc_get_multiple_accounts.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetMultipleAccountsConfig struct {
diff --git a/client/rpc_get_multiple_accounts_test.go b/client/rpc_get_multiple_accounts_test.go
index 8cbbb11a..a14aa379 100644
--- a/client/rpc_get_multiple_accounts_test.go
+++ b/client/rpc_get_multiple_accounts_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetMultipleAccounts(t *testing.T) {
diff --git a/client/rpc_get_signature_statuses.go b/client/rpc_get_signature_statuses.go
index a6d754ba..b6e2f39e 100644
--- a/client/rpc_get_signature_statuses.go
+++ b/client/rpc_get_signature_statuses.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetSignatureStatusesConfig struct {
diff --git a/client/rpc_get_signature_statuses_test.go b/client/rpc_get_signature_statuses_test.go
index 400eff06..055f5b2c 100644
--- a/client/rpc_get_signature_statuses_test.go
+++ b/client/rpc_get_signature_statuses_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetSignatureStatus(t *testing.T) {
diff --git a/client/rpc_get_signatures_for_address.go b/client/rpc_get_signatures_for_address.go
index f758b210..ea732cc0 100644
--- a/client/rpc_get_signatures_for_address.go
+++ b/client/rpc_get_signatures_for_address.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetSignaturesForAddressConfig struct {
diff --git a/client/rpc_get_signatures_for_address_test.go b/client/rpc_get_signatures_for_address_test.go
index f48b0472..264541f8 100644
--- a/client/rpc_get_signatures_for_address_test.go
+++ b/client/rpc_get_signatures_for_address_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetSignaturesForAddress(t *testing.T) {
diff --git a/client/rpc_get_slot.go b/client/rpc_get_slot.go
index 8c64fab3..98c73d18 100644
--- a/client/rpc_get_slot.go
+++ b/client/rpc_get_slot.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetSlotConfig struct {
diff --git a/client/rpc_get_slot_test.go b/client/rpc_get_slot_test.go
index 009fdd85..be5c8c69 100644
--- a/client/rpc_get_slot_test.go
+++ b/client/rpc_get_slot_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetSlot(t *testing.T) {
diff --git a/client/rpc_get_token_account_balance.go b/client/rpc_get_token_account_balance.go
index 20aeeff3..a2196f7e 100644
--- a/client/rpc_get_token_account_balance.go
+++ b/client/rpc_get_token_account_balance.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetTokenAccountBalanceConfig struct {
diff --git a/client/rpc_get_token_account_balance_test.go b/client/rpc_get_token_account_balance_test.go
index 012b0fb3..714af447 100644
--- a/client/rpc_get_token_account_balance_test.go
+++ b/client/rpc_get_token_account_balance_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetTokenAccountBalance(t *testing.T) {
diff --git a/client/rpc_get_token_accounts_by_owner.go b/client/rpc_get_token_accounts_by_owner.go
index 6b7808a3..9d5de110 100644
--- a/client/rpc_get_token_accounts_by_owner.go
+++ b/client/rpc_get_token_accounts_by_owner.go
@@ -3,8 +3,8 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func (c *Client) GetTokenAccountsByOwnerByMint(ctx context.Context, owner, mintAddr string) ([]token.TokenAccount, error) {
diff --git a/client/rpc_get_token_accounts_by_owner_test.go b/client/rpc_get_token_accounts_by_owner_test.go
index b2c2bb54..10c24710 100644
--- a/client/rpc_get_token_accounts_by_owner_test.go
+++ b/client/rpc_get_token_accounts_by_owner_test.go
@@ -4,10 +4,10 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetTokenAccountsByOwnerByMint(t *testing.T) {
diff --git a/client/rpc_get_token_supply.go b/client/rpc_get_token_supply.go
index d50df48f..ad6d3783 100644
--- a/client/rpc_get_token_supply.go
+++ b/client/rpc_get_token_supply.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetTokenSupplyConfig struct {
diff --git a/client/rpc_get_token_supply_test.go b/client/rpc_get_token_supply_test.go
index 1a72e034..e723a2ea 100644
--- a/client/rpc_get_token_supply_test.go
+++ b/client/rpc_get_token_supply_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetTokenSupply(t *testing.T) {
diff --git a/client/rpc_get_transaction.go b/client/rpc_get_transaction.go
index 7fa7bcd7..c9f618c7 100644
--- a/client/rpc_get_transaction.go
+++ b/client/rpc_get_transaction.go
@@ -5,11 +5,11 @@ import (
"encoding/base64"
"fmt"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/mr-tron/base58"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
)
type GetTransactionConfig struct {
diff --git a/client/rpc_get_transaction_count.go b/client/rpc_get_transaction_count.go
index 141fb787..dad3e9e4 100644
--- a/client/rpc_get_transaction_count.go
+++ b/client/rpc_get_transaction_count.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type GetTransactionCountConfig struct {
diff --git a/client/rpc_get_transaction_count_test.go b/client/rpc_get_transaction_count_test.go
index dc57e167..5e5e3c17 100644
--- a/client/rpc_get_transaction_count_test.go
+++ b/client/rpc_get_transaction_count_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetTransactionCount(t *testing.T) {
diff --git a/client/rpc_get_transaction_test.go b/client/rpc_get_transaction_test.go
index 99b0ce8d..e2cc313e 100644
--- a/client/rpc_get_transaction_test.go
+++ b/client/rpc_get_transaction_test.go
@@ -4,12 +4,12 @@ import (
"context"
"testing"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/mr-tron/base58"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
)
func TestClient_GetTransaction(t *testing.T) {
diff --git a/client/rpc_get_version.go b/client/rpc_get_version.go
index 820b2671..9fea3f77 100644
--- a/client/rpc_get_version.go
+++ b/client/rpc_get_version.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
// GetVersion returns the current solana versions running on the node
diff --git a/client/rpc_get_version_test.go b/client/rpc_get_version_test.go
index fc315616..eafed15e 100644
--- a/client/rpc_get_version_test.go
+++ b/client/rpc_get_version_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_GetVersion(t *testing.T) {
diff --git a/client/rpc_is_blockhash_valid.go b/client/rpc_is_blockhash_valid.go
index f2effd8e..236cdc36 100644
--- a/client/rpc_is_blockhash_valid.go
+++ b/client/rpc_is_blockhash_valid.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type IsBlockhashValidConfig struct {
diff --git a/client/rpc_is_blockhash_valid_test.go b/client/rpc_is_blockhash_valid_test.go
index ed77501d..7e97be0a 100644
--- a/client/rpc_is_blockhash_valid_test.go
+++ b/client/rpc_is_blockhash_valid_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_IsBlockhashValid(t *testing.T) {
diff --git a/client/rpc_minimum_ledger_slot.go b/client/rpc_minimum_ledger_slot.go
index 5b51b82f..1c2ad4a6 100644
--- a/client/rpc_minimum_ledger_slot.go
+++ b/client/rpc_minimum_ledger_slot.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
// MinimumLedgerSlot returns the lowest slot that the node has information about in its ledger.
diff --git a/client/rpc_minimum_ledger_slot_test.go b/client/rpc_minimum_ledger_slot_test.go
index 247814c4..95fcc596 100644
--- a/client/rpc_minimum_ledger_slot_test.go
+++ b/client/rpc_minimum_ledger_slot_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestClient_MinimumLedgerSlot(t *testing.T) {
diff --git a/client/rpc_request_airdrop.go b/client/rpc_request_airdrop.go
index 37a63d12..50f3b643 100644
--- a/client/rpc_request_airdrop.go
+++ b/client/rpc_request_airdrop.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/rpc"
)
type RequestAirdropConfig struct {
diff --git a/client/rpc_request_airdrop_test.go b/client/rpc_request_airdrop_test.go
index 22e3db6f..391ececc 100644
--- a/client/rpc_request_airdrop_test.go
+++ b/client/rpc_request_airdrop_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_RequestAirdrop(t *testing.T) {
diff --git a/client/rpc_send_transaction.go b/client/rpc_send_transaction.go
index 8fe1c78a..26e36da3 100644
--- a/client/rpc_send_transaction.go
+++ b/client/rpc_send_transaction.go
@@ -5,8 +5,8 @@ import (
"encoding/base64"
"fmt"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
type SendTransactionConfig struct {
diff --git a/client/rpc_send_transaction_test.go b/client/rpc_send_transaction_test.go
index e22e9acf..e5d266f4 100644
--- a/client/rpc_send_transaction_test.go
+++ b/client/rpc_send_transaction_test.go
@@ -5,9 +5,9 @@ import (
"encoding/base64"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestClient_SendTransaction(t *testing.T) {
diff --git a/client/rpc_simulate_transaction.go b/client/rpc_simulate_transaction.go
index f60c1808..41f74f14 100644
--- a/client/rpc_simulate_transaction.go
+++ b/client/rpc_simulate_transaction.go
@@ -5,8 +5,8 @@ import (
"encoding/base64"
"fmt"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
type SimulateTransaction struct {
diff --git a/client/rpc_simulate_transaction_test.go b/client/rpc_simulate_transaction_test.go
index c9ba2112..fca71204 100644
--- a/client/rpc_simulate_transaction_test.go
+++ b/client/rpc_simulate_transaction_test.go
@@ -4,9 +4,9 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func TestClient_SimulateTransaction(t *testing.T) {
diff --git a/client/rpc_test.go b/client/rpc_test.go
index 2e56bcec..f21dcbb4 100644
--- a/client/rpc_test.go
+++ b/client/rpc_test.go
@@ -5,9 +5,9 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
func mustDeserializeBase64Tx(t *testing.T, s string) types.Transaction {
diff --git a/client/system.go b/client/system.go
index d34c431f..be6039a5 100644
--- a/client/system.go
+++ b/client/system.go
@@ -4,10 +4,10 @@ import (
"context"
"errors"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
"github.com/mr-tron/base58"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
)
func (c *Client) GetNonceAccount(ctx context.Context, base58Addr string) (system.NonceAccount, error) {
diff --git a/client/token.go b/client/token.go
index d9629c87..ad426e73 100644
--- a/client/token.go
+++ b/client/token.go
@@ -3,7 +3,7 @@ package client
import (
"context"
- "github.com/portto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/program/token"
)
func (c *Client) GetTokenAccount(ctx context.Context, base58Addr string) (token.TokenAccount, error) {
diff --git a/docs/_examples/advanced/durable-nonce/advance-nonce/main.go b/docs/_examples/advanced/durable-nonce/advance-nonce/main.go
index e369d1b5..d5ff3db2 100644
--- a/docs/_examples/advanced/durable-nonce/advance-nonce/main.go
+++ b/docs/_examples/advanced/durable-nonce/advance-nonce/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/advanced/durable-nonce/create-nonce-account/main.go b/docs/_examples/advanced/durable-nonce/create-nonce-account/main.go
index e3ed8fc6..f9963385 100644
--- a/docs/_examples/advanced/durable-nonce/create-nonce-account/main.go
+++ b/docs/_examples/advanced/durable-nonce/create-nonce-account/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/advanced/durable-nonce/get-nonce-account-by-owner/main.go b/docs/_examples/advanced/durable-nonce/get-nonce-account-by-owner/main.go
index f08ca255..b3da7e72 100644
--- a/docs/_examples/advanced/durable-nonce/get-nonce-account-by-owner/main.go
+++ b/docs/_examples/advanced/durable-nonce/get-nonce-account-by-owner/main.go
@@ -6,10 +6,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/advanced/durable-nonce/get-nonce-account/main.go b/docs/_examples/advanced/durable-nonce/get-nonce-account/main.go
index 3cd9449f..d9ddcc80 100644
--- a/docs/_examples/advanced/durable-nonce/get-nonce-account/main.go
+++ b/docs/_examples/advanced/durable-nonce/get-nonce-account/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/advanced/durable-nonce/get-nonce-from-nonce-account/main.go b/docs/_examples/advanced/durable-nonce/get-nonce-from-nonce-account/main.go
index cec256e6..fdeb6ff6 100644
--- a/docs/_examples/advanced/durable-nonce/get-nonce-from-nonce-account/main.go
+++ b/docs/_examples/advanced/durable-nonce/get-nonce-from-nonce-account/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/advanced/durable-nonce/upgrade-nonce-account/main.go b/docs/_examples/advanced/durable-nonce/upgrade-nonce-account/main.go
index b1a8ff2e..d6b1f61c 100644
--- a/docs/_examples/advanced/durable-nonce/upgrade-nonce-account/main.go
+++ b/docs/_examples/advanced/durable-nonce/upgrade-nonce-account/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/advanced/durable-nonce/use-nonce/main.go b/docs/_examples/advanced/durable-nonce/use-nonce/main.go
index 26c22b04..ff0d3668 100644
--- a/docs/_examples/advanced/durable-nonce/use-nonce/main.go
+++ b/docs/_examples/advanced/durable-nonce/use-nonce/main.go
@@ -5,12 +5,12 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/memo"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/memo"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/client/get-account-info/main.go b/docs/_examples/client/get-account-info/main.go
index f29810b9..7d973c32 100644
--- a/docs/_examples/client/get-account-info/main.go
+++ b/docs/_examples/client/get-account-info/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/client/get-balance/main.go b/docs/_examples/client/get-balance/main.go
index 2ff088d4..7f181ca3 100644
--- a/docs/_examples/client/get-balance/main.go
+++ b/docs/_examples/client/get-balance/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/client/get-slot/main.go b/docs/_examples/client/get-slot/main.go
index 7a2469de..ee95b46f 100644
--- a/docs/_examples/client/get-slot/main.go
+++ b/docs/_examples/client/get-slot/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/client/get-token-account/main.go b/docs/_examples/client/get-token-account/main.go
index d014f6e4..ea07deea 100644
--- a/docs/_examples/client/get-token-account/main.go
+++ b/docs/_examples/client/get-token-account/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/client/get-token-accounts-by-owner/main.go b/docs/_examples/client/get-token-accounts-by-owner/main.go
index 10359fc8..2b30f292 100644
--- a/docs/_examples/client/get-token-accounts-by-owner/main.go
+++ b/docs/_examples/client/get-token-accounts-by-owner/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/client/get-version/main.go b/docs/_examples/client/get-version/main.go
index 2c370140..42ba6bbb 100644
--- a/docs/_examples/client/get-version/main.go
+++ b/docs/_examples/client/get-version/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/client/send-tx/main.go b/docs/_examples/client/send-tx/main.go
index ac3ab963..3fd5095d 100644
--- a/docs/_examples/client/send-tx/main.go
+++ b/docs/_examples/client/send-tx/main.go
@@ -5,10 +5,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// There are many ways you can send tx
diff --git a/docs/_examples/nft/get-metadata/main.go b/docs/_examples/nft/get-metadata/main.go
index f5d8dca3..9beca3e2 100644
--- a/docs/_examples/nft/get-metadata/main.go
+++ b/docs/_examples/nft/get-metadata/main.go
@@ -6,10 +6,10 @@ import (
"github.com/davecgh/go-spew/spew"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/metaplex/token_metadata"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/metaplex/token_metadata"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/nft/mint-a-nft-with-master-edition/main.go b/docs/_examples/nft/mint-a-nft-with-master-edition/main.go
index 0002f7e4..d54fe842 100644
--- a/docs/_examples/nft/mint-a-nft-with-master-edition/main.go
+++ b/docs/_examples/nft/mint-a-nft-with-master-edition/main.go
@@ -5,15 +5,15 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/program/associated_token_account"
- "github.com/portto/solana-go-sdk/program/metaplex/token_metadata"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/program/associated_token_account"
+ "github.com/blocto/solana-go-sdk/program/metaplex/token_metadata"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/101/accounts/client/main.go b/docs/_examples/program/101/accounts/client/main.go
index de2825a3..ad6cfbe3 100644
--- a/docs/_examples/program/101/accounts/client/main.go
+++ b/docs/_examples/program/101/accounts/client/main.go
@@ -15,10 +15,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/101/data/client/main.go b/docs/_examples/program/101/data/client/main.go
index a0beffdb..21654216 100644
--- a/docs/_examples/program/101/data/client/main.go
+++ b/docs/_examples/program/101/data/client/main.go
@@ -9,10 +9,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/101/hello/client/main.go b/docs/_examples/program/101/hello/client/main.go
index 67056c5a..d3659aea 100644
--- a/docs/_examples/program/101/hello/client/main.go
+++ b/docs/_examples/program/101/hello/client/main.go
@@ -15,10 +15,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/address-lookup-table/close/main.go b/docs/_examples/program/address-lookup-table/close/main.go
index 146c5cab..1a75c14a 100644
--- a/docs/_examples/program/address-lookup-table/close/main.go
+++ b/docs/_examples/program/address-lookup-table/close/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/address_lookup_table"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/address_lookup_table"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/address-lookup-table/create/main.go b/docs/_examples/program/address-lookup-table/create/main.go
index 630a9897..79722bc8 100644
--- a/docs/_examples/program/address-lookup-table/create/main.go
+++ b/docs/_examples/program/address-lookup-table/create/main.go
@@ -4,10 +4,10 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/program/address_lookup_table"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/program/address_lookup_table"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/address-lookup-table/deactivate/main.go b/docs/_examples/program/address-lookup-table/deactivate/main.go
index 08d7fe49..738d2bba 100644
--- a/docs/_examples/program/address-lookup-table/deactivate/main.go
+++ b/docs/_examples/program/address-lookup-table/deactivate/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/address_lookup_table"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/address_lookup_table"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/address-lookup-table/extend/main.go b/docs/_examples/program/address-lookup-table/extend/main.go
index 71af71c5..b2e069c2 100644
--- a/docs/_examples/program/address-lookup-table/extend/main.go
+++ b/docs/_examples/program/address-lookup-table/extend/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/address_lookup_table"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/address_lookup_table"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/address-lookup-table/freeze/main.go b/docs/_examples/program/address-lookup-table/freeze/main.go
index d7c66e9c..2f09d7ce 100644
--- a/docs/_examples/program/address-lookup-table/freeze/main.go
+++ b/docs/_examples/program/address-lookup-table/freeze/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/address_lookup_table"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/address_lookup_table"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/address-lookup-table/get/main.go b/docs/_examples/program/address-lookup-table/get/main.go
index d0818887..4f5376d6 100644
--- a/docs/_examples/program/address-lookup-table/get/main.go
+++ b/docs/_examples/program/address-lookup-table/get/main.go
@@ -5,10 +5,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/address_lookup_table"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/address_lookup_table"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/program/associated-token/create-idempotent/main.go b/docs/_examples/program/associated-token/create-idempotent/main.go
index 3c9d5199..d1bd3410 100644
--- a/docs/_examples/program/associated-token/create-idempotent/main.go
+++ b/docs/_examples/program/associated-token/create-idempotent/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/associated_token_account"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/associated_token_account"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// feeEo6y4CVaGzpxBqU5EyxtkTNUBrgKqkaNgT2mfWqs
diff --git a/docs/_examples/program/associated-token/create/main.go b/docs/_examples/program/associated-token/create/main.go
index 316df2d3..ff454c13 100644
--- a/docs/_examples/program/associated-token/create/main.go
+++ b/docs/_examples/program/associated-token/create/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/associated_token_account"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/associated_token_account"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// feeEo6y4CVaGzpxBqU5EyxtkTNUBrgKqkaNgT2mfWqs
diff --git a/docs/_examples/program/associated-token/recover-nested/main.go b/docs/_examples/program/associated-token/recover-nested/main.go
index de1e4cb4..3025963a 100644
--- a/docs/_examples/program/associated-token/recover-nested/main.go
+++ b/docs/_examples/program/associated-token/recover-nested/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/associated_token_account"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/associated_token_account"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// feeEo6y4CVaGzpxBqU5EyxtkTNUBrgKqkaNgT2mfWqs
diff --git a/docs/_examples/program/compute-budget/set-compute-unit-limit/main.go b/docs/_examples/program/compute-budget/set-compute-unit-limit/main.go
index 57309826..10e5174f 100644
--- a/docs/_examples/program/compute-budget/set-compute-unit-limit/main.go
+++ b/docs/_examples/program/compute-budget/set-compute-unit-limit/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/program/compute_budget"
- "github.com/portto/solana-go-sdk/program/memo"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/program/compute_budget"
+ "github.com/blocto/solana-go-sdk/program/memo"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/compute-budget/set-compute-unit-price/main.go b/docs/_examples/program/compute-budget/set-compute-unit-price/main.go
index 3e04c95e..c1291e97 100644
--- a/docs/_examples/program/compute-budget/set-compute-unit-price/main.go
+++ b/docs/_examples/program/compute-budget/set-compute-unit-price/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/program/compute_budget"
- "github.com/portto/solana-go-sdk/program/memo"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/program/compute_budget"
+ "github.com/blocto/solana-go-sdk/program/memo"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/memo/main.go b/docs/_examples/program/memo/main.go
index d3f93d76..911afe69 100644
--- a/docs/_examples/program/memo/main.go
+++ b/docs/_examples/program/memo/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/memo"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/memo"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/metaplex/token-metadata/sign-metadata/main.go b/docs/_examples/program/metaplex/token-metadata/sign-metadata/main.go
index 7bfe7bd2..dc6162ab 100644
--- a/docs/_examples/program/metaplex/token-metadata/sign-metadata/main.go
+++ b/docs/_examples/program/metaplex/token-metadata/sign-metadata/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/metaplex/token_metadata"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/metaplex/token_metadata"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/metaplex/token-metadata/update-metadata/main.go b/docs/_examples/program/metaplex/token-metadata/update-metadata/main.go
index 8a6a8998..58cc5e6b 100644
--- a/docs/_examples/program/metaplex/token-metadata/update-metadata/main.go
+++ b/docs/_examples/program/metaplex/token-metadata/update-metadata/main.go
@@ -5,12 +5,12 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/program/metaplex/token_metadata"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/program/metaplex/token_metadata"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/program/system/transfer/main.go b/docs/_examples/program/system/transfer/main.go
index 8d58ce72..9f8b8a9c 100644
--- a/docs/_examples/program/system/transfer/main.go
+++ b/docs/_examples/program/system/transfer/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/rpc/get-balance/main.go b/docs/_examples/rpc/get-balance/main.go
index 6b817a3b..856fd31c 100644
--- a/docs/_examples/rpc/get-balance/main.go
+++ b/docs/_examples/rpc/get-balance/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/rpc/get-multiple-accounts/main.go b/docs/_examples/rpc/get-multiple-accounts/main.go
index d777f4da..66b62679 100644
--- a/docs/_examples/rpc/get-multiple-accounts/main.go
+++ b/docs/_examples/rpc/get-multiple-accounts/main.go
@@ -4,9 +4,9 @@ import (
"context"
"log"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
"github.com/davecgh/go-spew/spew"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/rpc/get-signature-for-address/main.go b/docs/_examples/rpc/get-signature-for-address/main.go
index b667367d..222229de 100644
--- a/docs/_examples/rpc/get-signature-for-address/main.go
+++ b/docs/_examples/rpc/get-signature-for-address/main.go
@@ -4,9 +4,9 @@ import (
"context"
"log"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
"github.com/davecgh/go-spew/spew"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/rpc/request-airdrop/main.go b/docs/_examples/rpc/request-airdrop/main.go
index 79f8bb56..67ddb448 100644
--- a/docs/_examples/rpc/request-airdrop/main.go
+++ b/docs/_examples/rpc/request-airdrop/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/tour/create-account/main.go b/docs/_examples/tour/create-account/main.go
index a724a947..b8683ce2 100644
--- a/docs/_examples/tour/create-account/main.go
+++ b/docs/_examples/tour/create-account/main.go
@@ -3,9 +3,9 @@ package main
import (
"fmt"
+ "github.com/blocto/solana-go-sdk/pkg/hdwallet"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/mr-tron/base58"
- "github.com/portto/solana-go-sdk/pkg/hdwallet"
- "github.com/portto/solana-go-sdk/types"
"github.com/tyler-smith/go-bip39"
)
diff --git a/docs/_examples/tour/create-associated-token-account/main.go b/docs/_examples/tour/create-associated-token-account/main.go
index 41819248..86794719 100644
--- a/docs/_examples/tour/create-associated-token-account/main.go
+++ b/docs/_examples/tour/create-associated-token-account/main.go
@@ -5,11 +5,11 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/associated_token_account"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/associated_token_account"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/tour/create-mint/main.go b/docs/_examples/tour/create-mint/main.go
index d5356a8a..48b7f394 100644
--- a/docs/_examples/tour/create-mint/main.go
+++ b/docs/_examples/tour/create-mint/main.go
@@ -5,12 +5,12 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/tour/create-random-token-account/main.go b/docs/_examples/tour/create-random-token-account/main.go
index 071f6e5a..c1dd95a4 100644
--- a/docs/_examples/tour/create-random-token-account/main.go
+++ b/docs/_examples/tour/create-random-token-account/main.go
@@ -5,12 +5,12 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/tour/get-mint/main.go b/docs/_examples/tour/get-mint/main.go
index c9c27f72..7f22201f 100644
--- a/docs/_examples/tour/get-mint/main.go
+++ b/docs/_examples/tour/get-mint/main.go
@@ -5,10 +5,10 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
)
var mintPubkey = common.PublicKeyFromString("F6tecPzBMF47yJ2EN6j2aGtE68yR5jehXcZYVZa6ZETo")
diff --git a/docs/_examples/tour/get-sol-balance/main.go b/docs/_examples/tour/get-sol-balance/main.go
index 6b817a3b..856fd31c 100644
--- a/docs/_examples/tour/get-sol-balance/main.go
+++ b/docs/_examples/tour/get-sol-balance/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/tour/get-token-account/main.go b/docs/_examples/tour/get-token-account/main.go
index c8cae625..8e904168 100644
--- a/docs/_examples/tour/get-token-account/main.go
+++ b/docs/_examples/tour/get-token-account/main.go
@@ -5,9 +5,9 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/tour/get-token-balance/main.go b/docs/_examples/tour/get-token-balance/main.go
index 8098aa5f..da9b68ba 100644
--- a/docs/_examples/tour/get-token-balance/main.go
+++ b/docs/_examples/tour/get-token-balance/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/tour/mint-to/main.go b/docs/_examples/tour/mint-to/main.go
index e946df7a..91b632b0 100644
--- a/docs/_examples/tour/mint-to/main.go
+++ b/docs/_examples/tour/mint-to/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/tour/request-airdrop/main.go b/docs/_examples/tour/request-airdrop/main.go
index 79f8bb56..67ddb448 100644
--- a/docs/_examples/tour/request-airdrop/main.go
+++ b/docs/_examples/tour/request-airdrop/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/rpc"
)
func main() {
diff --git a/docs/_examples/tour/token-transfer/main.go b/docs/_examples/tour/token-transfer/main.go
index a82c6a36..62dfec5a 100644
--- a/docs/_examples/tour/token-transfer/main.go
+++ b/docs/_examples/tour/token-transfer/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/token"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/token"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/_examples/tour/transfer-sol/main.go b/docs/_examples/tour/transfer-sol/main.go
index 8d58ce72..9f8b8a9c 100644
--- a/docs/_examples/tour/transfer-sol/main.go
+++ b/docs/_examples/tour/transfer-sol/main.go
@@ -4,11 +4,11 @@ import (
"context"
"log"
- "github.com/portto/solana-go-sdk/client"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/program/system"
- "github.com/portto/solana-go-sdk/rpc"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/client"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/program/system"
+ "github.com/blocto/solana-go-sdk/rpc"
+ "github.com/blocto/solana-go-sdk/types"
)
// FUarP2p5EnxD66vVDL4PWRoWMzA56ZVHG24hpEDFShEz
diff --git a/docs/src/.vuepress/config.ts b/docs/src/.vuepress/config.ts
index cbc62526..0b146b8f 100644
--- a/docs/src/.vuepress/config.ts
+++ b/docs/src/.vuepress/config.ts
@@ -8,7 +8,7 @@ export default defineUserConfig({
title: "Solana Development With Go",
plugins: [["@snippetors/vuepress-plugin-code-copy", { color: "#BBBBBB" }]],
themeConfig: {
- navbar: [{ text: "GitHub", link: "https://github.com/portto/solana-go-sdk" }],
+ navbar: [{ text: "GitHub", link: "https://github.com/blocto/solana-go-sdk" }],
locales: {
"/": {
selectLanguageName: "English",
diff --git a/go.mod b/go.mod
index 35ee08fa..7f313fe5 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/portto/solana-go-sdk
+module github.com/blocto/solana-go-sdk
go 1.19
diff --git a/program/address_lookup_table/instruction.go b/program/address_lookup_table/instruction.go
index f4ec6350..b833e8aa 100644
--- a/program/address_lookup_table/instruction.go
+++ b/program/address_lookup_table/instruction.go
@@ -1,9 +1,9 @@
package address_lookup_table
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
type Instruction uint32
diff --git a/program/address_lookup_table/instruction_test.go b/program/address_lookup_table/instruction_test.go
index 4458e4db..cd950093 100644
--- a/program/address_lookup_table/instruction_test.go
+++ b/program/address_lookup_table/instruction_test.go
@@ -4,9 +4,9 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestCreateLookupTable(t *testing.T) {
diff --git a/program/address_lookup_table/state.go b/program/address_lookup_table/state.go
index 92932779..7d922149 100644
--- a/program/address_lookup_table/state.go
+++ b/program/address_lookup_table/state.go
@@ -3,7 +3,7 @@ package address_lookup_table
import (
"encoding/binary"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
const LOOKUP_TABLE_MAX_ADDRESSES uint = 256
diff --git a/program/address_lookup_table/state_test.go b/program/address_lookup_table/state_test.go
index 960e86f0..6e026c54 100644
--- a/program/address_lookup_table/state_test.go
+++ b/program/address_lookup_table/state_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
"github.com/stretchr/testify/assert"
)
diff --git a/program/associated_token_account/instruction.go b/program/associated_token_account/instruction.go
index f4dbe80a..d32a9fb3 100644
--- a/program/associated_token_account/instruction.go
+++ b/program/associated_token_account/instruction.go
@@ -1,9 +1,9 @@
package associated_token_account
import (
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
)
type Instruction borsh.Enum
diff --git a/program/associated_token_account/instruction_test.go b/program/associated_token_account/instruction_test.go
index 3cb9d1b8..441ae6b1 100644
--- a/program/associated_token_account/instruction_test.go
+++ b/program/associated_token_account/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/stretchr/testify/assert"
)
diff --git a/program/assotokenprog/deprecated.go b/program/assotokenprog/deprecated.go
index 74707cda..c37c2ed7 100644
--- a/program/assotokenprog/deprecated.go
+++ b/program/assotokenprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/associated_token_account
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/associated_token_account
package assotokenprog
diff --git a/program/assotokenprog/instruction.go b/program/assotokenprog/instruction.go
index c2c64e5a..df13f38b 100644
--- a/program/assotokenprog/instruction.go
+++ b/program/assotokenprog/instruction.go
@@ -1,9 +1,9 @@
package assotokenprog
import (
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
)
type Instruction borsh.Enum
diff --git a/program/assotokenprog/instruction_test.go b/program/assotokenprog/instruction_test.go
index 6f2ede94..8b88b09c 100644
--- a/program/assotokenprog/instruction_test.go
+++ b/program/assotokenprog/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestCreateAssociatedTokenAccount(t *testing.T) {
diff --git a/program/cmptbdgprog/deprecated.go b/program/cmptbdgprog/deprecated.go
index 66bce022..d1f0f676 100644
--- a/program/cmptbdgprog/deprecated.go
+++ b/program/cmptbdgprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/compute_budget
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/compute_budget
package cmptbdgprog
diff --git a/program/cmptbdgprog/instruction.go b/program/cmptbdgprog/instruction.go
index 0dc8f117..085ecdc2 100644
--- a/program/cmptbdgprog/instruction.go
+++ b/program/cmptbdgprog/instruction.go
@@ -1,9 +1,9 @@
package cmptbdgprog
import (
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
)
type Instruction borsh.Enum
diff --git a/program/cmptbdgprog/instruction_test.go b/program/cmptbdgprog/instruction_test.go
index d0b04b94..5ca58c13 100644
--- a/program/cmptbdgprog/instruction_test.go
+++ b/program/cmptbdgprog/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestRequestUnits(t *testing.T) {
diff --git a/program/compute_budget/instruction.go b/program/compute_budget/instruction.go
index 8d098052..4ffda604 100644
--- a/program/compute_budget/instruction.go
+++ b/program/compute_budget/instruction.go
@@ -1,9 +1,9 @@
package compute_budget
import (
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
)
type Instruction borsh.Enum
diff --git a/program/compute_budget/instruction_test.go b/program/compute_budget/instruction_test.go
index a277f6cc..c69c2f05 100644
--- a/program/compute_budget/instruction_test.go
+++ b/program/compute_budget/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestRequestUnits(t *testing.T) {
diff --git a/program/memo/instruction.go b/program/memo/instruction.go
index cf14a909..ad077426 100644
--- a/program/memo/instruction.go
+++ b/program/memo/instruction.go
@@ -1,8 +1,8 @@
package memo
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
type BuildMemoParam struct {
diff --git a/program/memo/instruction_test.go b/program/memo/instruction_test.go
index 98861d5a..54db24a4 100644
--- a/program/memo/instruction_test.go
+++ b/program/memo/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestBuildMemo(t *testing.T) {
diff --git a/program/memoprog/deprecated.go b/program/memoprog/deprecated.go
index 07d938bd..b645cf44 100644
--- a/program/memoprog/deprecated.go
+++ b/program/memoprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/memo
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/memo
package memoprog
diff --git a/program/memoprog/instruction.go b/program/memoprog/instruction.go
index 7076e920..793cd0a0 100644
--- a/program/memoprog/instruction.go
+++ b/program/memoprog/instruction.go
@@ -1,8 +1,8 @@
package memoprog
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
type BuildMemoParam struct {
diff --git a/program/memoprog/instruction_test.go b/program/memoprog/instruction_test.go
index 5678437e..27a62ee9 100644
--- a/program/memoprog/instruction_test.go
+++ b/program/memoprog/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestBuildMemo(t *testing.T) {
diff --git a/program/metaplex/token_metadata/instruction.go b/program/metaplex/token_metadata/instruction.go
index b71ff1df..8bcbdcf2 100644
--- a/program/metaplex/token_metadata/instruction.go
+++ b/program/metaplex/token_metadata/instruction.go
@@ -1,9 +1,9 @@
package token_metadata
import (
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
)
type Instruction uint8
diff --git a/program/metaplex/token_metadata/instruction_test.go b/program/metaplex/token_metadata/instruction_test.go
index 3123415b..1d696202 100644
--- a/program/metaplex/token_metadata/instruction_test.go
+++ b/program/metaplex/token_metadata/instruction_test.go
@@ -4,10 +4,10 @@ import (
"reflect"
"testing"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
"github.com/stretchr/testify/assert"
)
diff --git a/program/metaplex/token_metadata/state.go b/program/metaplex/token_metadata/state.go
index 614635bf..7eef8ff7 100644
--- a/program/metaplex/token_metadata/state.go
+++ b/program/metaplex/token_metadata/state.go
@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
)
const EDITION_MARKER_BIT_SIZE uint64 = 248
diff --git a/program/metaplex/token_metadata/state_test.go b/program/metaplex/token_metadata/state_test.go
index e8e1cd8d..78adc22f 100644
--- a/program/metaplex/token_metadata/state_test.go
+++ b/program/metaplex/token_metadata/state_test.go
@@ -3,8 +3,8 @@ package token_metadata
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
"github.com/stretchr/testify/assert"
)
diff --git a/program/metaplex/token_metadata/utils.go b/program/metaplex/token_metadata/utils.go
index 5ae07ed0..a7f2cbbf 100644
--- a/program/metaplex/token_metadata/utils.go
+++ b/program/metaplex/token_metadata/utils.go
@@ -3,7 +3,7 @@ package token_metadata
import (
"strconv"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
func GetTokenMetaPubkey(mint common.PublicKey) (common.PublicKey, error) {
diff --git a/program/metaplex/token_metadata/utils_test.go b/program/metaplex/token_metadata/utils_test.go
index a9c8b600..bed4861a 100644
--- a/program/metaplex/token_metadata/utils_test.go
+++ b/program/metaplex/token_metadata/utils_test.go
@@ -3,7 +3,7 @@ package token_metadata
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/metaplex/tokenmeta/deprecated.go b/program/metaplex/tokenmeta/deprecated.go
index 964f5585..0b0662ca 100644
--- a/program/metaplex/tokenmeta/deprecated.go
+++ b/program/metaplex/tokenmeta/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/metaplex/token_metadata
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/metaplex/token_metadata
package tokenmeta
diff --git a/program/metaplex/tokenmeta/instruction.go b/program/metaplex/tokenmeta/instruction.go
index 72874d47..de461b8d 100644
--- a/program/metaplex/tokenmeta/instruction.go
+++ b/program/metaplex/tokenmeta/instruction.go
@@ -1,9 +1,9 @@
package tokenmeta
import (
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
)
type Instruction uint8
diff --git a/program/metaplex/tokenmeta/instruction_test.go b/program/metaplex/tokenmeta/instruction_test.go
index 3b316e96..223d3c39 100644
--- a/program/metaplex/tokenmeta/instruction_test.go
+++ b/program/metaplex/tokenmeta/instruction_test.go
@@ -4,10 +4,10 @@ import (
"reflect"
"testing"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
"github.com/stretchr/testify/assert"
)
diff --git a/program/metaplex/tokenmeta/state.go b/program/metaplex/tokenmeta/state.go
index 2994ec70..d6c114de 100644
--- a/program/metaplex/tokenmeta/state.go
+++ b/program/metaplex/tokenmeta/state.go
@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/near/borsh-go"
- "github.com/portto/solana-go-sdk/common"
)
const EDITION_MARKER_BIT_SIZE uint64 = 248
diff --git a/program/metaplex/tokenmeta/state_test.go b/program/metaplex/tokenmeta/state_test.go
index e1de680e..e7fe3ebe 100644
--- a/program/metaplex/tokenmeta/state_test.go
+++ b/program/metaplex/tokenmeta/state_test.go
@@ -3,8 +3,8 @@ package tokenmeta
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
"github.com/stretchr/testify/assert"
)
diff --git a/program/metaplex/tokenmeta/utils.go b/program/metaplex/tokenmeta/utils.go
index 566de131..9de43af4 100644
--- a/program/metaplex/tokenmeta/utils.go
+++ b/program/metaplex/tokenmeta/utils.go
@@ -3,7 +3,7 @@ package tokenmeta
import (
"strconv"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
func GetTokenMetaPubkey(mint common.PublicKey) (common.PublicKey, error) {
diff --git a/program/metaplex/tokenmeta/utils_test.go b/program/metaplex/tokenmeta/utils_test.go
index fb896226..6abfa1bc 100644
--- a/program/metaplex/tokenmeta/utils_test.go
+++ b/program/metaplex/tokenmeta/utils_test.go
@@ -3,7 +3,7 @@ package tokenmeta
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/name_service/state.go b/program/name_service/state.go
index 4ef8091e..510858b4 100644
--- a/program/name_service/state.go
+++ b/program/name_service/state.go
@@ -3,7 +3,7 @@ package name_service
import (
"fmt"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
type NameRecordHeader struct {
diff --git a/program/name_service/state_test.go b/program/name_service/state_test.go
index cc844921..a424e9a0 100644
--- a/program/name_service/state_test.go
+++ b/program/name_service/state_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/name_service/utils.go b/program/name_service/utils.go
index 0d29f8f0..66748b55 100644
--- a/program/name_service/utils.go
+++ b/program/name_service/utils.go
@@ -3,7 +3,7 @@ package name_service
import (
"crypto/sha256"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
var TwitterVerificationAuthority = common.PublicKeyFromString("FvPH7PrVrLGKPfqaf3xJodFTjZriqrAXXLTVWEorTFBi")
diff --git a/program/name_service/utils_test.go b/program/name_service/utils_test.go
index 664d9dd9..97367140 100644
--- a/program/name_service/utils_test.go
+++ b/program/name_service/utils_test.go
@@ -4,7 +4,7 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/nsprog/deprecated.go b/program/nsprog/deprecated.go
index b7c6d58f..6c0ad8ee 100644
--- a/program/nsprog/deprecated.go
+++ b/program/nsprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/name_service
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/name_service
package nsprog
diff --git a/program/nsprog/state.go b/program/nsprog/state.go
index 1e3f1df1..4dd6a936 100644
--- a/program/nsprog/state.go
+++ b/program/nsprog/state.go
@@ -3,7 +3,7 @@ package nsprog
import (
"fmt"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
type NameRecordHeader struct {
diff --git a/program/nsprog/state_test.go b/program/nsprog/state_test.go
index 1fd4fbb6..d804a2c2 100644
--- a/program/nsprog/state_test.go
+++ b/program/nsprog/state_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/nsprog/utils.go b/program/nsprog/utils.go
index 71facfd6..ba9b0f29 100644
--- a/program/nsprog/utils.go
+++ b/program/nsprog/utils.go
@@ -3,7 +3,7 @@ package nsprog
import (
"crypto/sha256"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
var TwitterVerificationAuthority = common.PublicKeyFromString("FvPH7PrVrLGKPfqaf3xJodFTjZriqrAXXLTVWEorTFBi")
diff --git a/program/nsprog/utils_test.go b/program/nsprog/utils_test.go
index 1c277896..975e557f 100644
--- a/program/nsprog/utils_test.go
+++ b/program/nsprog/utils_test.go
@@ -4,7 +4,7 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/secp256k1/instruction.go b/program/secp256k1/instruction.go
index 68ce4288..79b1d9e8 100644
--- a/program/secp256k1/instruction.go
+++ b/program/secp256k1/instruction.go
@@ -3,9 +3,9 @@ package secp256k1
import (
"fmt"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
const (
diff --git a/program/stake/instruction.go b/program/stake/instruction.go
index 3988e1a9..f24d8dc3 100644
--- a/program/stake/instruction.go
+++ b/program/stake/instruction.go
@@ -1,9 +1,9 @@
package stake
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
const AccountSize uint64 = 200
diff --git a/program/stake/instruction_test.go b/program/stake/instruction_test.go
index 9d244364..90e0bb7c 100644
--- a/program/stake/instruction_test.go
+++ b/program/stake/instruction_test.go
@@ -4,9 +4,9 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestSplit(t *testing.T) {
diff --git a/program/stakeprog/deprecated.go b/program/stakeprog/deprecated.go
index 90f2c0f6..c0cf9fd5 100644
--- a/program/stakeprog/deprecated.go
+++ b/program/stakeprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/stake
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/stake
package stakeprog
diff --git a/program/stakeprog/instruction.go b/program/stakeprog/instruction.go
index 9cc92672..fdce8f3b 100644
--- a/program/stakeprog/instruction.go
+++ b/program/stakeprog/instruction.go
@@ -1,9 +1,9 @@
package stakeprog
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
const AccountSize uint64 = 200
diff --git a/program/stakeprog/instruction_test.go b/program/stakeprog/instruction_test.go
index 10cf1977..6053c0a6 100644
--- a/program/stakeprog/instruction_test.go
+++ b/program/stakeprog/instruction_test.go
@@ -4,9 +4,9 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestSplit(t *testing.T) {
diff --git a/program/sysprog/deprecated.go b/program/sysprog/deprecated.go
index 20a693ad..6848803f 100644
--- a/program/sysprog/deprecated.go
+++ b/program/sysprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/system
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/system
package sysprog
diff --git a/program/sysprog/instruction.go b/program/sysprog/instruction.go
index efdadad0..e81e2c66 100644
--- a/program/sysprog/instruction.go
+++ b/program/sysprog/instruction.go
@@ -1,9 +1,9 @@
package sysprog
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
type Instruction uint32
diff --git a/program/sysprog/instruction_test.go b/program/sysprog/instruction_test.go
index 39b9b370..e2177572 100644
--- a/program/sysprog/instruction_test.go
+++ b/program/sysprog/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestCreateAccount(t *testing.T) {
diff --git a/program/sysprog/state.go b/program/sysprog/state.go
index 61deb27b..8e8752f8 100644
--- a/program/sysprog/state.go
+++ b/program/sysprog/state.go
@@ -4,7 +4,7 @@ import (
"encoding/binary"
"fmt"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
const FeeCalculatorSize = 8
diff --git a/program/sysprog/state_test.go b/program/sysprog/state_test.go
index a653ec98..8d475ca4 100644
--- a/program/sysprog/state_test.go
+++ b/program/sysprog/state_test.go
@@ -4,7 +4,7 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
func TestNonceAccountDeserialize(t *testing.T) {
diff --git a/program/system/instruction.go b/program/system/instruction.go
index a5a58bc5..2a90e7ff 100644
--- a/program/system/instruction.go
+++ b/program/system/instruction.go
@@ -1,9 +1,9 @@
package system
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
type Instruction uint32
diff --git a/program/system/instruction_test.go b/program/system/instruction_test.go
index b44eaecb..54be9996 100644
--- a/program/system/instruction_test.go
+++ b/program/system/instruction_test.go
@@ -4,8 +4,8 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestCreateAccount(t *testing.T) {
diff --git a/program/system/state.go b/program/system/state.go
index b42de26f..bb897615 100644
--- a/program/system/state.go
+++ b/program/system/state.go
@@ -4,7 +4,7 @@ import (
"encoding/binary"
"fmt"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
const FeeCalculatorSize = 8
diff --git a/program/system/state_test.go b/program/system/state_test.go
index db64c8d7..60fc253b 100644
--- a/program/system/state_test.go
+++ b/program/system/state_test.go
@@ -4,7 +4,7 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
func TestNonceAccountDeserialize(t *testing.T) {
diff --git a/program/sysvar/slot_hashes.go b/program/sysvar/slot_hashes.go
index 07011515..a61e4255 100644
--- a/program/sysvar/slot_hashes.go
+++ b/program/sysvar/slot_hashes.go
@@ -1,8 +1,8 @@
package sysvar
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bytes_decoder"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bytes_decoder"
)
type SlotHash struct {
diff --git a/program/sysvar/slot_hashes_test.go b/program/sysvar/slot_hashes_test.go
index 9d0f4a20..c918d366 100644
--- a/program/sysvar/slot_hashes_test.go
+++ b/program/sysvar/slot_hashes_test.go
@@ -3,7 +3,7 @@ package sysvar
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/program/token/instruction.go b/program/token/instruction.go
index 05671413..a6e7e956 100644
--- a/program/token/instruction.go
+++ b/program/token/instruction.go
@@ -1,9 +1,9 @@
package token
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
type Instruction uint8
diff --git a/program/token/instruction_test.go b/program/token/instruction_test.go
index ddeba5a7..93bb1893 100644
--- a/program/token/instruction_test.go
+++ b/program/token/instruction_test.go
@@ -4,9 +4,9 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestInitializeMint(t *testing.T) {
diff --git a/program/token/state.go b/program/token/state.go
index 80333134..289fc0a7 100644
--- a/program/token/state.go
+++ b/program/token/state.go
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
var (
diff --git a/program/token/state_test.go b/program/token/state_test.go
index 8242047b..7848f0e2 100644
--- a/program/token/state_test.go
+++ b/program/token/state_test.go
@@ -3,8 +3,8 @@ package token
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
"github.com/stretchr/testify/assert"
)
diff --git a/program/tokenprog/deprecated.go b/program/tokenprog/deprecated.go
index cf8dac7d..ae4ef8b5 100644
--- a/program/tokenprog/deprecated.go
+++ b/program/tokenprog/deprecated.go
@@ -1,2 +1,2 @@
-// Deprecated: please use github.com/portto/solana-go-sdk/program/token
+// Deprecated: please use github.com/blocto/solana-go-sdk/program/token
package tokenprog
diff --git a/program/tokenprog/instruction.go b/program/tokenprog/instruction.go
index a5f7335b..68745d8b 100644
--- a/program/tokenprog/instruction.go
+++ b/program/tokenprog/instruction.go
@@ -1,9 +1,9 @@
package tokenprog
import (
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/types"
)
type Instruction uint8
diff --git a/program/tokenprog/instruction_test.go b/program/tokenprog/instruction_test.go
index 82277ab8..bf5a5c25 100644
--- a/program/tokenprog/instruction_test.go
+++ b/program/tokenprog/instruction_test.go
@@ -4,9 +4,9 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
- "github.com/portto/solana-go-sdk/types"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/types"
)
func TestInitializeMint(t *testing.T) {
diff --git a/program/tokenprog/state.go b/program/tokenprog/state.go
index 622dc88b..c7812408 100644
--- a/program/tokenprog/state.go
+++ b/program/tokenprog/state.go
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
var (
diff --git a/program/tokenprog/state_test.go b/program/tokenprog/state_test.go
index e906cdc6..d532d7b6 100644
--- a/program/tokenprog/state_test.go
+++ b/program/tokenprog/state_test.go
@@ -3,8 +3,8 @@ package tokenprog
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
"github.com/stretchr/testify/assert"
)
diff --git a/rpc/get_account_info_test.go b/rpc/get_account_info_test.go
index e6898e66..4bc60b7c 100644
--- a/rpc/get_account_info_test.go
+++ b/rpc/get_account_info_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetAccountInfo(t *testing.T) {
diff --git a/rpc/get_balance_test.go b/rpc/get_balance_test.go
index 3927bd5c..b2a83a7e 100644
--- a/rpc/get_balance_test.go
+++ b/rpc/get_balance_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetBalance(t *testing.T) {
diff --git a/rpc/get_block_commitment_test.go b/rpc/get_block_commitment_test.go
index 768403cc..7e900f8d 100644
--- a/rpc/get_block_commitment_test.go
+++ b/rpc/get_block_commitment_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetBlockCommitment(t *testing.T) {
diff --git a/rpc/get_block_height_test.go b/rpc/get_block_height_test.go
index 43506e1f..20137ded 100644
--- a/rpc/get_block_height_test.go
+++ b/rpc/get_block_height_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetBlockHeight(t *testing.T) {
diff --git a/rpc/get_block_production_test.go b/rpc/get_block_production_test.go
index 617a66c4..1d44bc28 100644
--- a/rpc/get_block_production_test.go
+++ b/rpc/get_block_production_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetBlockProduction(t *testing.T) {
diff --git a/rpc/get_block_test.go b/rpc/get_block_test.go
index 57395523..0f511fd3 100644
--- a/rpc/get_block_test.go
+++ b/rpc/get_block_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetBlock(t *testing.T) {
diff --git a/rpc/get_block_time_test.go b/rpc/get_block_time_test.go
index c32119da..bf86e860 100644
--- a/rpc/get_block_time_test.go
+++ b/rpc/get_block_time_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetBlockTime(t *testing.T) {
diff --git a/rpc/get_blocks_test.go b/rpc/get_blocks_test.go
index 55328d91..faa62dd9 100644
--- a/rpc/get_blocks_test.go
+++ b/rpc/get_blocks_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetBlocks(t *testing.T) {
diff --git a/rpc/get_blocks_with_limit_test.go b/rpc/get_blocks_with_limit_test.go
index fab23fb7..54aa4566 100644
--- a/rpc/get_blocks_with_limit_test.go
+++ b/rpc/get_blocks_with_limit_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetBlocksWithLimit(t *testing.T) {
diff --git a/rpc/get_cluster_nodes_test.go b/rpc/get_cluster_nodes_test.go
index c9a29108..829718b6 100644
--- a/rpc/get_cluster_nodes_test.go
+++ b/rpc/get_cluster_nodes_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetClusterNodes(t *testing.T) {
diff --git a/rpc/get_epoch_info_test.go b/rpc/get_epoch_info_test.go
index bc6bcfe6..c1ca3ea8 100644
--- a/rpc/get_epoch_info_test.go
+++ b/rpc/get_epoch_info_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetEpochInfo(t *testing.T) {
diff --git a/rpc/get_epoch_schedule_test.go b/rpc/get_epoch_schedule_test.go
index 7aacef37..bb0ae886 100644
--- a/rpc/get_epoch_schedule_test.go
+++ b/rpc/get_epoch_schedule_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetEpochSchedule(t *testing.T) {
diff --git a/rpc/get_fee_for_message_test.go b/rpc/get_fee_for_message_test.go
index e66b9477..1dc527bb 100644
--- a/rpc/get_fee_for_message_test.go
+++ b/rpc/get_fee_for_message_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetFeeForMessage(t *testing.T) {
diff --git a/rpc/get_first_available_block_test.go b/rpc/get_first_available_block_test.go
index 898af87a..edb947e5 100644
--- a/rpc/get_first_available_block_test.go
+++ b/rpc/get_first_available_block_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetFirstAvailableBlock(t *testing.T) {
diff --git a/rpc/get_genesis_hash_test.go b/rpc/get_genesis_hash_test.go
index 3743eb99..b8eac142 100644
--- a/rpc/get_genesis_hash_test.go
+++ b/rpc/get_genesis_hash_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetGenesisHash(t *testing.T) {
diff --git a/rpc/get_identity_test.go b/rpc/get_identity_test.go
index ee2f06b5..2f7c8935 100644
--- a/rpc/get_identity_test.go
+++ b/rpc/get_identity_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetIdentity(t *testing.T) {
diff --git a/rpc/get_inflation_governor_test.go b/rpc/get_inflation_governor_test.go
index 36154236..f76daab3 100644
--- a/rpc/get_inflation_governor_test.go
+++ b/rpc/get_inflation_governor_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetInflationGovernor(t *testing.T) {
diff --git a/rpc/get_inflation_rate_test.go b/rpc/get_inflation_rate_test.go
index 997ce7ff..46ff877c 100644
--- a/rpc/get_inflation_rate_test.go
+++ b/rpc/get_inflation_rate_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetInflationRate(t *testing.T) {
diff --git a/rpc/get_inflation_reward_test.go b/rpc/get_inflation_reward_test.go
index 7d3e24c8..63f54009 100644
--- a/rpc/get_inflation_reward_test.go
+++ b/rpc/get_inflation_reward_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetInflationReward(t *testing.T) {
diff --git a/rpc/get_latest_blockhash_test.go b/rpc/get_latest_blockhash_test.go
index 4a8ac6e0..848c9894 100644
--- a/rpc/get_latest_blockhash_test.go
+++ b/rpc/get_latest_blockhash_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetLatestBlockhash(t *testing.T) {
diff --git a/rpc/get_minimum_balance_for_rent_exemption_test.go b/rpc/get_minimum_balance_for_rent_exemption_test.go
index ace4ee1b..b3341cc1 100644
--- a/rpc/get_minimum_balance_for_rent_exemption_test.go
+++ b/rpc/get_minimum_balance_for_rent_exemption_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetMinimumBalanceForRentExemption(t *testing.T) {
diff --git a/rpc/get_multiple_accounts_test.go b/rpc/get_multiple_accounts_test.go
index d35b144f..4252f643 100644
--- a/rpc/get_multiple_accounts_test.go
+++ b/rpc/get_multiple_accounts_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetMultipleAccounts(t *testing.T) {
diff --git a/rpc/get_program_accounts_test.go b/rpc/get_program_accounts_test.go
index b6b1cd06..3e21b197 100644
--- a/rpc/get_program_accounts_test.go
+++ b/rpc/get_program_accounts_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetProgramAccounts(t *testing.T) {
diff --git a/rpc/get_signature_statuses_test.go b/rpc/get_signature_statuses_test.go
index 2dc39fd8..5d1ca554 100644
--- a/rpc/get_signature_statuses_test.go
+++ b/rpc/get_signature_statuses_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetSignatureStatuses(t *testing.T) {
diff --git a/rpc/get_signatures_for_address_test.go b/rpc/get_signatures_for_address_test.go
index 683799b3..ee3f200d 100644
--- a/rpc/get_signatures_for_address_test.go
+++ b/rpc/get_signatures_for_address_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetSignaturesForAddress(t *testing.T) {
diff --git a/rpc/get_slot_test.go b/rpc/get_slot_test.go
index ff2cf721..e0153cb5 100644
--- a/rpc/get_slot_test.go
+++ b/rpc/get_slot_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetSlot(t *testing.T) {
diff --git a/rpc/get_token_account_balance_test.go b/rpc/get_token_account_balance_test.go
index 0b6f231b..a7828ed4 100644
--- a/rpc/get_token_account_balance_test.go
+++ b/rpc/get_token_account_balance_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetTokenBalance(t *testing.T) {
diff --git a/rpc/get_token_account_by_owner_test.go b/rpc/get_token_account_by_owner_test.go
index 56dd81f8..235cc43b 100644
--- a/rpc/get_token_account_by_owner_test.go
+++ b/rpc/get_token_account_by_owner_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetTokenAccountsByOwner(t *testing.T) {
diff --git a/rpc/get_token_supply_test.go b/rpc/get_token_supply_test.go
index 61541a2c..29b480e8 100644
--- a/rpc/get_token_supply_test.go
+++ b/rpc/get_token_supply_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetTokenSupply(t *testing.T) {
diff --git a/rpc/get_transaction_count_test.go b/rpc/get_transaction_count_test.go
index f51bc156..99c8c9d9 100644
--- a/rpc/get_transaction_count_test.go
+++ b/rpc/get_transaction_count_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetTransactionCount(t *testing.T) {
diff --git a/rpc/get_transaction_test.go b/rpc/get_transaction_test.go
index 0842ee25..b01e297b 100644
--- a/rpc/get_transaction_test.go
+++ b/rpc/get_transaction_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetTransaction(t *testing.T) {
diff --git a/rpc/get_version_test.go b/rpc/get_version_test.go
index 7b28ebcb..e6f3b8ae 100644
--- a/rpc/get_version_test.go
+++ b/rpc/get_version_test.go
@@ -4,8 +4,8 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
- "github.com/portto/solana-go-sdk/pkg/pointer"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/pkg/pointer"
)
func TestGetVersion(t *testing.T) {
diff --git a/rpc/get_vote_accounts_test.go b/rpc/get_vote_accounts_test.go
index 80a18599..7d04f02c 100644
--- a/rpc/get_vote_accounts_test.go
+++ b/rpc/get_vote_accounts_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestGetVoteAccounts(t *testing.T) {
diff --git a/rpc/is_blockhash_valid_test.go b/rpc/is_blockhash_valid_test.go
index bfe71760..db4081eb 100644
--- a/rpc/is_blockhash_valid_test.go
+++ b/rpc/is_blockhash_valid_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestIsBlockhashValid(t *testing.T) {
diff --git a/rpc/minimum_ledger_slot_test.go b/rpc/minimum_ledger_slot_test.go
index 699932c6..24ade794 100644
--- a/rpc/minimum_ledger_slot_test.go
+++ b/rpc/minimum_ledger_slot_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestMinimumLedgerSlot(t *testing.T) {
diff --git a/rpc/request_aridrop_test.go b/rpc/request_aridrop_test.go
index 19e40bf6..9345074a 100644
--- a/rpc/request_aridrop_test.go
+++ b/rpc/request_aridrop_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestRequestAirdrop(t *testing.T) {
diff --git a/rpc/send_transaction_test.go b/rpc/send_transaction_test.go
index 59f27f6f..c52047d4 100644
--- a/rpc/send_transaction_test.go
+++ b/rpc/send_transaction_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestSendTransaction(t *testing.T) {
diff --git a/rpc/simulate_transaction_test.go b/rpc/simulate_transaction_test.go
index 1faaa40a..7f063ad4 100644
--- a/rpc/simulate_transaction_test.go
+++ b/rpc/simulate_transaction_test.go
@@ -4,7 +4,7 @@ import (
"context"
"testing"
- "github.com/portto/solana-go-sdk/internal/client_test"
+ "github.com/blocto/solana-go-sdk/internal/client_test"
)
func TestSimulateTransaction(t *testing.T) {
diff --git a/types/account.go b/types/account.go
index 487cc38e..8c250c83 100644
--- a/types/account.go
+++ b/types/account.go
@@ -6,8 +6,8 @@ import (
"errors"
"fmt"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/mr-tron/base58"
- "github.com/portto/solana-go-sdk/common"
)
var (
diff --git a/types/account_test.go b/types/account_test.go
index 4e2e2c13..eb62d22d 100644
--- a/types/account_test.go
+++ b/types/account_test.go
@@ -5,7 +5,7 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/types/instruction.go b/types/instruction.go
index 3c5009d9..f5aafff9 100644
--- a/types/instruction.go
+++ b/types/instruction.go
@@ -1,6 +1,6 @@
package types
-import "github.com/portto/solana-go-sdk/common"
+import "github.com/blocto/solana-go-sdk/common"
type CompiledInstruction struct {
ProgramIDIndex int
diff --git a/types/message.go b/types/message.go
index bbd0e11a..e2cb3e61 100644
--- a/types/message.go
+++ b/types/message.go
@@ -7,8 +7,8 @@ import (
"sort"
"strconv"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
"github.com/mr-tron/base58"
)
diff --git a/types/message_bench_test.go b/types/message_bench_test.go
index 97cdca96..10eb1529 100644
--- a/types/message_bench_test.go
+++ b/types/message_bench_test.go
@@ -3,7 +3,7 @@ package types
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
func BenchmarkSerializeLegacyMessage(b *testing.B) {
diff --git a/types/message_test.go b/types/message_test.go
index b470f6b0..3a644aa7 100644
--- a/types/message_test.go
+++ b/types/message_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)
diff --git a/types/transaction.go b/types/transaction.go
index 12d6b97b..1ee78e83 100644
--- a/types/transaction.go
+++ b/types/transaction.go
@@ -6,8 +6,8 @@ import (
"errors"
"fmt"
- "github.com/portto/solana-go-sdk/common"
- "github.com/portto/solana-go-sdk/pkg/bincode"
+ "github.com/blocto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/pkg/bincode"
)
var (
diff --git a/types/transaction_bench_test.go b/types/transaction_bench_test.go
index 4b6eafba..93e95ad5 100644
--- a/types/transaction_bench_test.go
+++ b/types/transaction_bench_test.go
@@ -3,7 +3,7 @@ package types
import (
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
)
func BenchmarkSerializeTransaction(b *testing.B) {
diff --git a/types/transaction_test.go b/types/transaction_test.go
index 3bd3c54b..ac2d39aa 100644
--- a/types/transaction_test.go
+++ b/types/transaction_test.go
@@ -4,7 +4,7 @@ import (
"reflect"
"testing"
- "github.com/portto/solana-go-sdk/common"
+ "github.com/blocto/solana-go-sdk/common"
"github.com/stretchr/testify/assert"
)