Creating a wallet and sending a transaction with Privy’s REST API
API credentials are required for this guide. If you have not already gone through the API setup guide, go through those steps now.
Let’s create a simple Ethereum wallet:
Authorization signatures are an optional security improvement that requires all requests to be authorized by you.
The response will include the wallet ID and public address:
Now let’s sign a message with our new wallet:
The response will contain the signed message:
Finally, let’s send a transaction on Ethereum’s testnet, Sepolia:
You will need to fund your wallet with Sepolia ETH for this step. Use a Sepolia faucet and send it to the public address.
The response will contain the transaction hash and a Privy transaction ID:
Now that you’ve created a wallet and made your first transaction, you can explore:
Creating a wallet and sending a transaction with Privy’s REST API
API credentials are required for this guide. If you have not already gone through the API setup guide, go through those steps now.
Let’s create a simple Ethereum wallet:
Authorization signatures are an optional security improvement that requires all requests to be authorized by you.
The response will include the wallet ID and public address:
Now let’s sign a message with our new wallet:
The response will contain the signed message:
Finally, let’s send a transaction on Ethereum’s testnet, Sepolia:
You will need to fund your wallet with Sepolia ETH for this step. Use a Sepolia faucet and send it to the public address.
The response will contain the transaction hash and a Privy transaction ID:
Now that you’ve created a wallet and made your first transaction, you can explore: