How to Obtain Your API Key
To use the @karrotcapital/spiderswap
package and interact with the SpiderSwap API, you need an API key. Follow these simple steps to obtain your API key:
Go to spiderswap.io:
Open your web browser and navigate to the SpiderSwap website.
Connect Your Wallet:
Click on the "Connect Wallet" button on the homepage.
Follow the prompts to connect your Solana wallet. Ensure your wallet is properly connected and authenticated.
Click the Key Icon in the Top Navbar:
Once your wallet is connected, look for the key icon in the top navigation bar of the website.
Click on the key icon to access your API key.
Copy API Key:
A modal or popup will appear displaying your API key.
Copy the API key to your clipboard.
Use the API Key in Your Code:
You can now use this API key to initialize the
Spiderswap
class in your code and start interacting with the SpiderSwap API.
With your API key, you're all set to explore and utilize the features provided by the SpiderSwap API through the @karrotcapital/spiderswap
package. Happy coding!
Last updated