当我在初始化solana-test-validator初始化程序时部署程序时,哪个帐户在技术上部署合同?
它是接收创世纪代币的帐户吗?还是另一个地址?
我在启动验证器时要部署合同:
solana-test-validator -r --mint E2F3fsS1HpsLb2VpEgsA5ztfo83CWFWW4jWpC6FvJ6qR --bpf-program J2bPahVXAHqLvc3TUKeJMxfhKWymh4C7mM1PZm4FfpKU ../program/target/deploy/program.so
Is it the account that receives the genesis tokens? Or is it another address?
I'm deploying the contract like so when starting the validator:
solana-test-validator -r --mint E2F3fsS1HpsLb2VpEgsA5ztfo83CWFWW4jWpC6FvJ6qR --bpf-program J2bPahVXAHqLvc3TUKeJMxfhKWymh4C7mM1PZm4FfpKU ../program/target/deploy/program.so
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通常是您的配置中的一个。
检查配置
您可以使用Keypair路径和使用
:或最简单是
您配置中的一个
Usually it's the one in your config.
You may check the config with
Look for the keypair path and use:
Or easiest is
It's almost always the one in your config
答案实际上是“没有帐户”!通过
- BPF-Program
是链上的Genesis帐户的一部分,因此没有进行实际部署。The answer is actually "no account"! The program accounts through
--bpf-program
are part of the genesis accounts on the chain, so there's no actual deployment performed.