Deploy with Thirdweb
Last updated
Last updated
Thirdweb offers an easy way to deploy your ERC-20 token contract on the PointPay network. Here's how to create and deploy your token "Your Token Name" (YTN) using their tools.
Install Tools:
Start with the Thirdweb SDK using npm:
Configure Your Wallet: Use or a compatible wallet and connect it to the PointPay network:
For Mainnet, use https://rpc-mainnet.pointpay.io
as the RPC endpoint and 5511
as the Chain ID.
For TestNet, use https://rpc-testnet.pointpay.io
as the RPC endpoint and 5511555
as the Chain ID.
Set PXP
as the currency symbol in both cases.
Fund Your Wallet: Ensure your wallet has enough PXP tokens for gas fees. For testing, you can use the .
Create a basic ERC-20 token contract using OpenZeppelin's templates. Hereβs an example for "Your Token Name" (YTN):
Save this file as YourTokenName.sol
.
Select the PointPay Network: Choose Mainnet or TestNet, depending on your deployment target.
Upload and Deploy the Contract:
Click "Deploy Contract."
Upload the YourTokenName.sol
file.
Enter the following parameters:
Token Name: Your Token Name
Symbol: YTN
Total Supply: 1,000,000 tokens.
Confirm the transaction in your wallet.
Verify Deployment:
After deployment, use the Thirdweb SDK to interact with your contract:
With Thirdweb, deploying your ERC-20 token on the PointPay network is quick and straightforward. By following this guide, youβll have "Your Token Name" (YTN) live and ready to integrate into your applications or share with your community. π
Go to Thirdweb Dashboard: Open the and connect your wallet.
For Mainnet, use to view your deployed contract.
For TestNet, check the deployment on .