PYUSD Hackathon Hub

All of the information you need to get started for the PYUSD hackathon!

Getting Started

Welcome to the PYUSD Hackathon powered by PayPal, Portal, and Solana!

To get started head to the #pyusd-hackathon channel in the Portal Community Slack to request access to the Portal Admin Dashboard where you can get credentials to start developing with Portal.

Once you have access you can get started with one of our hackathon kit repositories for the SDK you would like to use:

What is Portal, PYUSD, and Solana?

Each of the three sponsors of this hackathon provide a different tool to use:

  • Portal is an MPC wallet provider and web3 developer platform. You can use Portal to create embedded MPC wallets for users and the Portal SDK to build out the web3 functionality for your application.

  • PYUSD is a stablecoin powered by PayPal.

  • Solana is a blockchain network that you can access and transfer PYUSD through via an SPL token.

Using Portal you can create wallets that can hold and transfer PYUSD over the Solana network.

Documentation

Portal SDK Reference

Portal's SDKs have several pieces of core functionality.

  • Generating a Wallet: This function creates MPC key shares on your local device and the Portal servers. These key shares support all EVM chains and Solana.

  • Signing a Transaction: This function signs a provided transaction, and can broadcast that transaction to a chain when an RPC gateway URL is provided.

  • Signature Hooks: By default this repo will submit a transaction without prompting a user, but you can use signature hooks to build a prompt for users before submitting a transaction for signing.

Portal APIs

Portal supplies several APIs for simplifying your development.

  • Get Assets: This endpoint returns a list of fungible asset (native, ERC-20, and SPL tokens) associated with your client for a given chain.

  • Get NFTs: This endpoint returns a list of the NFTs associated with your client for a given chain.

  • Get Transactions: This endpoint returns a list of the historic transactions associated with your client for a given chain.

  • Build a Transaction - Send Asset: This endpoint builds a formatted transaction to send a fungible asset (native, ERC-20, and SPL tokens) for a given chain.

  • Evaluate a Transaction: This endpoint can simulate a transaction and/or scan a transaction for security concerns.

PYUSD Documentation

Solana Documentation

Faucets

Last updated