I'm a beginner Rust/Solana Developer and wanted to ask if someone knows how to send a spl-token from an account when the account receives a SOL?
I read the https://docs.solana.com/ but i could not find anything about SPL transfers.
Example of Smart Contract: https://github.com/solana-labs/example-helloworld
Example:
Acc1 sends 0.1 SOL to a address and for that Acc1 receives 1 SPL-TOKEN from that address.
Simple explanation: I need a minting website for a token.
I would really appreciate some help, thanks!