SolanaPortal
  • ✨Welcome to SolanaPortal
  • Getting Started
    • ⭐Why SolanaPortal?
    • 📖Guide
    • 🗺️Best Practices
    • ❓FAQ
  • API Documentation
    • Swapping
      • Swapping with Node.js
      • Swapping with Python
      • Swapping with Rust
    • Token Creation
      • Pump.fun Token
      • Standard Token
  • Market Creation
  • ‼️Troubleshooting
  • Support
Powered by GitBook
On this page
  1. Getting Started

Best Practices

for interacting with API and dAPPS

Always verify the URL of the API you are interacting with before swapping. solanaportal.io is the only domain name. Any variation you may see on social networks, on a video description, or on an NFT is illegitimate and should be treated as dangerous.

Always verify the transaction you are swapping. Whether you are on a legitimate website or not, always give a double-take before swapping as the transactions cannot be reversed.

Do your own research. SolanaPortal is a fully permissionless platform. SolanaPortal allows any project or community to swap using its API.

Ensuring Smooth and Secure Use of SolanaPortal

Secure Your Private Key

  • Never share your private key with anyone, even trusted parties.

  • Use encrypted storage or a hardware wallet to protect your private key from unauthorized access.

Validate Mint Addresses

  • Double-check the mint addresses of tokens you plan to swap.

  • Use trusted resources like Solscan or official project websites to confirm addresses.

Test on Devnet First

  • Before trading large amounts, test your implementation on Solana's Devnet to ensure everything is functioning as expected.

Monitor Slippage and Fees

  • Set an appropriate slippage percentage to avoid failed transactions during volatile market conditions.

  • Consider the priority fee (tip) to ensure your transaction gets processed quickly.

Keep Dependencies Updated

  • Regularly update libraries like @solana/web3.js to stay compatible with Solana’s latest features and avoid deprecated functionality.

Use Reliable Network Connections

  • Ensure your connection to Solana's mainnet is stable to prevent delays or failures during swaps.

PreviousGuideNextFAQ

Last updated 4 months ago

🗺️