shine-solana/shine/doc/how to getback money after deploy from buffer.txt

19 lines
704 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Как вернуть деньги
Узнаём адрес buffer account:
solana program show <адрес_твоей_программы>
Там будет строчка Buffer: <PUBKEY>.
Закрываем буфер:
solana program close <PUBKEY> --recipient <адресошелька>
💡 --recipient — это куда вернуть SOL (обычно твой же кошелёк из ~/.config/solana/id.json).
Сколько вернётся
Если бинарник весит ~400 KB, с одного буфера вернётся ~0.35 SOL.
У тебя две программы (shine_users, shine_payments), значит можно вернуть ~0.7 SOL.