Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
--define=branch=alpha \
--define=upload_to_repository=true \
publish
gh release edit --prerelease "v$(uv run semantic-release print-version --current)"
env:
GH_TOKEN: ${{ steps.app_token.outputs.token }}
REPOSITORY_USERNAME: __token__
Expand All @@ -94,7 +93,6 @@ jobs:
--define=branch=main \
--define=upload_to_repository=true \
publish
gh release edit --prerelease "v$(uv run semantic-release print-version --current)"
env:
GH_TOKEN: ${{ steps.app_token.outputs.token }}
REPOSITORY_USERNAME: __token__
Expand Down
5 changes: 5 additions & 0 deletions docs/markdown/autoapi/algokit_utils/algosdk/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# algokit_utils.algosdk

Algorand SDK compatibility types - user-facing facade for algokit_algosdk.

Users should import from this module instead of algokit_algosdk directly.
43 changes: 41 additions & 2 deletions src/algokit_utils/clients/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,41 @@
from algokit_utils.clients.client_manager import * # noqa: F403
from algokit_utils.clients.dispenser_api_client import * # noqa: F403
from algokit_algod_client import AlgodClient
from algokit_algod_client import models as algod_models
from algokit_algod_client.exceptions import UnexpectedStatusError
from algokit_indexer_client import IndexerClient
from algokit_kmd_client import KmdClient
from algokit_utils.clients.client_manager import (
AlgoSdkClients,
ClientManager,
NetworkDetail,
)
from algokit_utils.clients.dispenser_api_client import (
DISPENSER_ACCESS_TOKEN_KEY,
DISPENSER_ASSETS,
DISPENSER_REQUEST_TIMEOUT,
DispenserApiConfig,
DispenserAsset,
DispenserAssetName,
DispenserFundResponse,
DispenserLimitResponse,
TestNetDispenserApiClient,
)

__all__ = [
"DISPENSER_ACCESS_TOKEN_KEY",
"DISPENSER_ASSETS",
"DISPENSER_REQUEST_TIMEOUT",
"AlgoSdkClients",
"AlgodClient",
"ClientManager",
"DispenserApiConfig",
"DispenserAsset",
"DispenserAssetName",
"DispenserFundResponse",
"DispenserLimitResponse",
"IndexerClient",
"KmdClient",
"NetworkDetail",
"TestNetDispenserApiClient",
"UnexpectedStatusError",
"algod_models",
]
40 changes: 40 additions & 0 deletions src/algokit_utils/common.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"""Common utilities - user-facing facade for algokit_common.

Users should import from this module instead of algokit_common directly.
"""

from algokit_common import (
ADDRESS_LENGTH,
CHECKSUM_BYTE_LENGTH,
HASH_BYTES_LENGTH,
MAX_TRANSACTION_GROUP_SIZE,
MICROALGOS_TO_ALGOS_RATIO,
MIN_TXN_FEE,
PUBLIC_KEY_BYTE_LENGTH,
SIGNATURE_BYTE_LENGTH,
TRANSACTION_ID_LENGTH,
ZERO_ADDRESS,
ProgramSourceMap,
address_from_public_key,
get_application_address,
public_key_from_address,
sha512_256,
)

__all__ = [
"ADDRESS_LENGTH",
"CHECKSUM_BYTE_LENGTH",
"HASH_BYTES_LENGTH",
"MAX_TRANSACTION_GROUP_SIZE",
"MICROALGOS_TO_ALGOS_RATIO",
"MIN_TXN_FEE",
"PUBLIC_KEY_BYTE_LENGTH",
"SIGNATURE_BYTE_LENGTH",
"TRANSACTION_ID_LENGTH",
"ZERO_ADDRESS",
"ProgramSourceMap",
"address_from_public_key",
"get_application_address",
"public_key_from_address",
"sha512_256",
]
Loading