简体   繁体   English

为 Solana 代币创建一个智能合约

[英]creating a side-smartcontract for Solana Token

I have created a token on the Solana Blockchain but i want to devise a part of it to a different issuer that will start a different ICO than mine.我在 Solana 区块链上创建了一个代币,但我想将其中的一部分 devise 发给另一个发行人,该发行人将启动与我不同的 ICO。 Who can shed some light into this?谁能对此有所了解?

This is more of an opinion / design question, but if you want to have two issuers for the same token, you have a few options:这更像是一个意见/设计问题,但如果你想为同一个令牌有两个发行者,你有几个选择:

  • mint a bunch of tokens for the second issuer, and have them burn whatever isn't sold为第二个发行人铸造一堆代币,然后让他们烧掉没有卖出的东西
  • create a separate on-chain program to handle minting, and accepts a signature from either you or the second issuer创建一个单独的链上程序来处理铸币,并接受您或第二个发行人的签名
  • each create your own token, then have them redeemable for the ICO token through a program每个人都创建自己的代币,然后让他们通过程序兑换 ICO 代币

I have solved this issue by removing the old repo and cloned it again.我已经通过删除旧的 repo 并再次克隆它来解决这个问题。 This solves the issue for the merge.这解决了合并的问题。 Also please be careful of any addon on your code editor that could change the position of the code that you have in the file.另外请注意代码编辑器上的任何插件,这些插件可能会更改文件中代码的 position。 If necessary you can contact me to debug it.如有需要可以联系我调试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM