[Don't understand parameters come from]

I’m currently working with Solana program, and I don’t know how to custom instruction with my own data and instruction to send from client to program by Ts.

I’m reading the tutorial of SPL program and don’t know where are the parameters such as fee, withdraw_fee, deposit_fee, referral_fee, max_validator come from.

Could anyone explain to me about that?

Hi @dungdv and welcome to the forum! :wave:

I think the best place to get started learning Solana program development is Figment:

I couldn’t follow the link to the SPL Token referral program you were mentioning, so I’m not exactly sure what parameters you are talking about. It seems like it was a link with no URL or something?

Could you post the URL maybe?

1 Like