This is project is an exploration of how to develop a simple on-chain point of sales (POS) on the Solana blockchain network.
If you want to run the project locally (pointing to the Solana testnet
):
- Clone the project.
- Go to the
/app
folder. - Run
yarn install
- Then
yarn run
You should be able to see the app running at: [http://localhost:3000/]
Note: You need the phantom wallet installed and pointing to the testnet
network (Cog wheel -> Change Network -> Select Testnet ). You'll have to airdrop some SOL into your account. You can do that with: solana airdrop 1 <YOURADDRESS>
. For the airdrop, you'll need to have the Solana cli installed, configured and pointing to the testnet
network (solana config set --url testnet
)
If you want to play around with the code and modify and test locally pointing to the solana-test-validator
then you'll have to install and configure both Solana and Anchor.