Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasos Bitsios committed Aug 29, 2024
2 parents a55d63f + 384a8e8 commit 48ba98d
Show file tree
Hide file tree
Showing 131 changed files with 333 additions and 334 deletions.
8 changes: 4 additions & 4 deletions _examples/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"log"

"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/mnemonic"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/algod"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/mnemonic"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions _examples/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"log"
"time"

"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/algod"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _examples/asa.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"log"

"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/algod"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _examples/atc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"io/ioutil"
"log"

"github.com/algorand/go-algorand-sdk/v2/abi"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/abi"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _examples/atomic_transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"log"

"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions _examples/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"log"
"os"

"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/encoding/msgpack"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/encoding/msgpack"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions _examples/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"log"
"os"

"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/encoding/msgpack"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/encoding/msgpack"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions _examples/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"strings"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/indexer"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/indexer"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions _examples/kmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"strings"

"github.com/algorand/go-algorand-sdk/v2/client/kmd"
"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/mnemonic"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/client/kmd"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/mnemonic"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _examples/lsig.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"io/ioutil"
"log"

"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _examples/overview.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"log"
"strings"

"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/algod"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions _examples/participation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"strings"

"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/algod"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions _examples/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"log"
"strings"

"github.com/algorand/go-algorand-sdk/v2/client/kmd"
"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/crypto"
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/client/kmd"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/algod"
"github.com/tasosbit/go-algorand-sdk/v2/crypto"
"github.com/tasosbit/go-algorand-sdk/v2/transaction"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

// add sandbox and other stuff
Expand Down
2 changes: 1 addition & 1 deletion auction/auction.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package auction

import (
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

// MakeBid constructs a bid using the passed parameters. `bidderAddress` and
Expand Down
2 changes: 1 addition & 1 deletion client/kmd/common.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kmd

import (
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

// APIV1Wallet is the API's representation of a wallet
Expand Down
2 changes: 1 addition & 1 deletion client/kmd/kmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/algorand/go-algorand-sdk/v2/encoding/json"
"github.com/tasosbit/go-algorand-sdk/v2/encoding/json"
)

const (
Expand Down
3 changes: 1 addition & 2 deletions client/kmd/requests.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package kmd

import (
"github.com/tasosbit/go-algorand-sdk/v2/types"
"golang.org/x/crypto/ed25519"

"github.com/algorand/go-algorand-sdk/v2/types"
)

// DefaultWalletDriver is the wallet backend that kmd will use by default
Expand Down
3 changes: 1 addition & 2 deletions client/kmd/responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package kmd
import (
"errors"

"github.com/tasosbit/go-algorand-sdk/v2/types"
"golang.org/x/crypto/ed25519"

"github.com/algorand/go-algorand-sdk/v2/types"
)

// APIV1Response is the interface that all API V1 responses must satisfy
Expand Down
5 changes: 2 additions & 3 deletions client/kmd/wrappers.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package kmd

import (
"github.com/tasosbit/go-algorand-sdk/v2/encoding/msgpack"
"github.com/tasosbit/go-algorand-sdk/v2/types"
"golang.org/x/crypto/ed25519"

"github.com/algorand/go-algorand-sdk/v2/encoding/msgpack"
"github.com/algorand/go-algorand-sdk/v2/types"
)

// Version returns a VersionResponse containing a list of kmd API versions
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/accountApplicationInformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// AccountApplicationInformationParams contains all of the query parameters for url serialization.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/accountAssetInformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// AccountAssetInformationParams contains all of the query parameters for url serialization.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/accountInformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// AccountInformationParams contains all of the query parameters for url serialization.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/algod.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

const authHeader = "X-Algo-API-Token"
Expand Down
2 changes: 1 addition & 1 deletion client/v2/algod/blockRaw.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
)

// GetBlockParams defines parameters for GetBlock.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/dryrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package algod
import (
"context"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// TealDryRun /v2/teal/dryrun
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getApplicationBoxByName.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"encoding/base64"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetApplicationBoxByNameParams contains all of the query parameters for url serialization.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getApplicationBoxes.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetApplicationBoxesParams contains all of the query parameters for url serialization.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getApplicationByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetApplicationByID given a application ID, it returns application information
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getAssetByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetAssetByID given a asset ID, it returns asset information including creator,
Expand Down
6 changes: 3 additions & 3 deletions client/v2/algod/getBlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/types"
)

// BlockParams contains all of the query parameters for url serialization.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getBlockHash.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetBlockHash get the block hash for the block on the given round.
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getBlockLogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetBlockLogs get all of the logs from outer and inner app calls in the given
Expand Down
4 changes: 2 additions & 2 deletions client/v2/algod/getBlockTimeStampOffset.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package algod
import (
"context"

"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common"
"github.com/tasosbit/go-algorand-sdk/v2/client/v2/common/models"
)

// GetBlockTimeStampOffset gets the current timestamp offset.
Expand Down
Loading

0 comments on commit 48ba98d

Please sign in to comment.