(solely for the educational purposes)
In a separate terminal start solana-test-validator
and run tests via anchor test --skip-local-validator
- locally update config via
solana config set -ul
First checkbox is for Nikita, second checkbox is for Yana.
- [ ] Project 1 - Building a Favorites Program
- [ ] Project 2 - Creating a Voting Application
- [ ] Project 3 - Integrating Blinks and Actions
- [ ] Project 4 - Building a CRUD Application
- [ ] Project 5 - Creating a Token
- [ ] Project 6 - Creating a NFT
- [ ] Project 7 - Building a Swap Program
- [ ] Project 8 - Creating a Token Vesting App
- [ ] Project 9 - Building a Token Lottery
- [ ] Project 10 - Lending Application
- [ ] Project 11 - Programmable Money
- [ ] Project 12 - Attacking the Bank
- [ ] Project 13 - Getting to Production
- Go Build Your Application!
As starting point, we use two tokens Pupa
& Lupa
. Their keys are saved in keys/
folder (for security reason excluded from .git). We can update :
solana config set --keypair ~/Workspace/yapf/keys/PupfM2bSZmfZyVtMJ5979hkkT1JVhiNcCNsgZdSD8V2.json
.solana config set --keypair ~/Workspace/yapf/keys/LupbwHA7axsmcf5trsr84f1jtnwnnzFsm4hFEBKkUKe.json
Mint addresses of those tokens are mPu9y8vEpAgfENx9AzDkS6A6SsGExCptdVJkUWx3u8V
& mLuhk9zLeeECSwY2in1B75gxXZG4PfWDQzSMgY5Njnv
.
devnet link Pupa & devnet link Lupa
How to mint as authority?
- create associated PDA
spl-token create-account mPu9y8vEpAgfENx9AzDkS6A6SsGExCptdVJkUWx3u8V
- mint tokens to this new associated account
spl-token mint mPu9y8vEpAgfENx9AzDkS6A6SsGExCptdVJkUWx3u8V 100