diff --git a/examples/soroban_auth_atomic_swap.py b/examples/soroban_auth_atomic_swap.py index d510a121..aafbad33 100644 --- a/examples/soroban_auth_atomic_swap.py +++ b/examples/soroban_auth_atomic_swap.py @@ -17,7 +17,7 @@ from stellar_sdk.exceptions import PrepareTransactionException from stellar_sdk.soroban_rpc import GetTransactionStatus, SendTransactionStatus -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" soroban_server = SorobanServer(rpc_server_url) network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE diff --git a/examples/soroban_auth_with_stellar_account.py b/examples/soroban_auth_with_stellar_account.py index 90e6715c..402c904d 100644 --- a/examples/soroban_auth_with_stellar_account.py +++ b/examples/soroban_auth_with_stellar_account.py @@ -18,7 +18,7 @@ from stellar_sdk.exceptions import PrepareTransactionException from stellar_sdk.soroban_rpc import GetTransactionStatus, SendTransactionStatus -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE soroban_server = SorobanServer(rpc_server_url) diff --git a/examples/soroban_auth_with_transaction_invoke.py b/examples/soroban_auth_with_transaction_invoke.py index 128247cb..e4ca7032 100644 --- a/examples/soroban_auth_with_transaction_invoke.py +++ b/examples/soroban_auth_with_transaction_invoke.py @@ -10,7 +10,7 @@ from stellar_sdk.exceptions import PrepareTransactionException from stellar_sdk.soroban_rpc import GetTransactionStatus, SendTransactionStatus -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" soroban_server = SorobanServer(rpc_server_url) network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE diff --git a/examples/soroban_deploy_contract.py b/examples/soroban_deploy_contract.py index 53b7a9ea..f7e48b45 100644 --- a/examples/soroban_deploy_contract.py +++ b/examples/soroban_deploy_contract.py @@ -9,7 +9,7 @@ # TODO: You need to replace the following parameters according to the actual situation secret = "SAAPYAPTTRZMCUZFPG3G66V4ZMHTK4TWA6NS7U4F7Z3IMUD52EK4DDEV" -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE contract_file_path = "/Users/overcat/repo/stellar/soroban-examples/hello_world/target/wasm32-unknown-unknown/release/soroban_hello_world_contract.wasm" diff --git a/examples/soroban_deploy_create_wrapped_token_contract.py b/examples/soroban_deploy_create_wrapped_token_contract.py index 82df8b21..696860ed 100644 --- a/examples/soroban_deploy_create_wrapped_token_contract.py +++ b/examples/soroban_deploy_create_wrapped_token_contract.py @@ -17,7 +17,7 @@ # TODO: You need to replace the following parameters according to the actual situation secret = "SAAPYAPTTRZMCUZFPG3G66V4ZMHTK4TWA6NS7U4F7Z3IMUD52EK4DDEV" -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE hello_asset = Asset("XLM", "GBCXQUEPSEGIKXLYODHKMZD7YMTZ4IUY3BYPRZL4D5MSJZHHE7HG6RWR") diff --git a/examples/soroban_extend_footprint_ttl.py b/examples/soroban_extend_footprint_ttl.py index 79a3b449..7ad59daa 100644 --- a/examples/soroban_extend_footprint_ttl.py +++ b/examples/soroban_extend_footprint_ttl.py @@ -17,7 +17,7 @@ from stellar_sdk.soroban_rpc import GetTransactionStatus secret = "SAAPYAPTTRZMCUZFPG3G66V4ZMHTK4TWA6NS7U4F7Z3IMUD52EK4DDEV" -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" contract_id = "CBQHNAXSI55GX2GN6D67GK7BHVPSLJUGZQEU7WJ5LKR5PNUCGLIMAO4K" network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE diff --git a/examples/soroban_invoke_contract_function.py b/examples/soroban_invoke_contract_function.py index 867e557e..1155939d 100644 --- a/examples/soroban_invoke_contract_function.py +++ b/examples/soroban_invoke_contract_function.py @@ -19,7 +19,7 @@ # TODO: You need to replace the following parameters according to the actual situation secret = "SAAPYAPTTRZMCUZFPG3G66V4ZMHTK4TWA6NS7U4F7Z3IMUD52EK4DDEV" -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" contract_id = "CDJO3KQKJFHFEZY2ZSWS4CTZEAZUO2SZNRWO2Y7QQS4X3UWSOLFJHSS3" network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE diff --git a/examples/soroban_payment.py b/examples/soroban_payment.py index 9a06b892..7f84c9fc 100644 --- a/examples/soroban_payment.py +++ b/examples/soroban_payment.py @@ -9,7 +9,7 @@ from stellar_sdk.exceptions import PrepareTransactionException from stellar_sdk.soroban_rpc import GetTransactionStatus, SendTransactionStatus -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" soroban_server = SorobanServer(rpc_server_url) network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE diff --git a/examples/soroban_restore_footprint.py b/examples/soroban_restore_footprint.py index a6a1cb2f..99b06771 100644 --- a/examples/soroban_restore_footprint.py +++ b/examples/soroban_restore_footprint.py @@ -17,7 +17,7 @@ from stellar_sdk.soroban_rpc import GetTransactionStatus, SendTransactionStatus secret = "SAAPYAPTTRZMCUZFPG3G66V4ZMHTK4TWA6NS7U4F7Z3IMUD52EK4DDEV" -rpc_server_url = "https://soroban-testnet.stellar.org:443/" +rpc_server_url = "https://soroban-testnet.stellar.org:443" contract_id = "CAEZUQ3JTKBLIYFZEHKSK5X2K3MGU66B4F6MJFEKZKF6ZFRWBERV3BKF" network_passphrase = Network.STANDALONE_NETWORK_PASSPHRASE diff --git a/stellar_sdk/soroban_server.py b/stellar_sdk/soroban_server.py index f024a06c..2cb8a3d8 100644 --- a/stellar_sdk/soroban_server.py +++ b/stellar_sdk/soroban_server.py @@ -33,13 +33,13 @@ class SorobanServer: """Server handles the network connection to a Soroban RPC instance and exposes an interface for requests to that instance. - :param server_url: Soroban RPC server URL. (ex. ``https://soroban-testnet.stellar.org:443/``) + :param server_url: Soroban RPC server URL. (ex. ``https://soroban-testnet.stellar.org:443``) :param client: A client instance that will be used to make requests. """ def __init__( self, - server_url: str = "https://soroban-testnet.stellar.org:443/", + server_url: str = "https://soroban-testnet.stellar.org:443", client: Optional[BaseSyncClient] = None, ) -> None: self.server_url: str = server_url diff --git a/stellar_sdk/soroban_server_async.py b/stellar_sdk/soroban_server_async.py index b346a34c..eae9ed81 100644 --- a/stellar_sdk/soroban_server_async.py +++ b/stellar_sdk/soroban_server_async.py @@ -33,13 +33,13 @@ class SorobanServerAsync: """Server handles the network connection to a Soroban RPC instance and exposes an interface for requests to that instance. - :param server_url: Soroban RPC server URL. (ex. ``https://soroban-testnet.stellar.org:443/``) + :param server_url: Soroban RPC server URL. (ex. ``https://soroban-testnet.stellar.org:443``) :param client: A client instance that will be used to make requests. """ def __init__( self, - server_url: str = "https://soroban-testnet.stellar.org:443/", + server_url: str = "https://soroban-testnet.stellar.org:443", client: Optional[BaseAsyncClient] = None, ) -> None: self.server_url: str = server_url