Ok, time for our first dApp!
👷 What we will build?
In this tutorial we're going to learn how to build a simple PST (Profit Sharing Token) application. Our main token will be Federation Credits which are monetary units used by the United Federation of Planets. You can read some more about this fictional unit in the Star trek fandom wiki. In order to achieve that, we will write our first PST contract. After writing some tests, we will deploy it to the Warp public testnet. It will let us mint some tokens as well as transfer them between addresses and read current balances. We will then create a simple dApp which will help us interact with the contract in a user-friendly way.
We will also give you some advice of how to deploy the contract to the Arweave mainnet.
🔨 What you will need
git clone https://github.com/warp-contracts/academy.git
No worries, we will guide you through the whole process!
You can also run final version locally by running following commands: