我使用测试钱包/帐户创建了 Solana 代币。现在我想将权限转移到另一个帐户并删除测试帐户。有什么办法可以做到吗?
最佳答案
您可以通过 CLI 上的 spl-token Authorize
或 the SetAuthority()
instruction 来完成此操作。
请注意 is an antipattern to transfer the ownership of an Associated Token Account .
在这种情况下,最佳做法是为接收者的钱包创建关联的代币帐户,转移代币,然后关闭第一个帐户。
关于solana - 有什么方法可以更改 Solana 代币的权限吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70654332/