Skip to main content

Faraday SDK

Info

For this example ensure you have followed the Test Environment Setup and have obtained Sepolia ETH and USDC for Alice
After you have setup the examples repository run
This will
  • Request a quote
  • Sign the transaction
  • Submit the transaction via Faraday
The example code for requesting a quote and submitting an evm transaction with the Faraday SDK is available on Github.

Rest API

First fetch a quote for a solana-devnet to solana-devnet transaction using USDC. For more see the API documentation for this endpoint.
This returns a quote with an unsigned transaction
The caller may wish to verify the transaction before submitting it by decoding the payload and confirming that it has been constructed according to their request. Once verified, the transaction can be signed using any preferred method (for example, a browser wallet, the @solana/web3.js library, or the solana-sdk) and then submitted to the POST /v1/transactions endpoint.
Faraday will then submit this to the blockchain unmodified and maintain a record of this transaction.
Testing a Solana Transaction Compliance Record Keeping
Last modified on June 17, 2026