From 2eaba3f47d2c6d9a2d43c450e6b7b8d151f548e9 Mon Sep 17 00:00:00 2001 From: thoma Date: Sat, 9 Mar 2024 16:53:31 +0100 Subject: [PATCH] Update readme private_key to keypair --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94e2fe3..df341a3 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ private_key = Keypair.from_bytes(base58.b58decode(os.getenv("PRIVATE-KEY"))) # P async_client = AsyncClient("SOLANA-RPC-ENDPOINT-URL") jupiter = Jupiter( async_client=async_client, - private_key=private_key, + keypair=private_key, quote_api_url="https://quote-api.jup.ag/v6/quote?", swap_api_url="https://quote-api.jup.ag/v6/swap", open_order_api_url="https://jup.ag/api/limit/v1/createOrder",