Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换到BSC链。合约重新部署后,替换数据库中合约地址。 #56

Open
poolwhitedark opened this issue Mar 24, 2022 · 1 comment

Comments

@poolwhitedark
Copy link

切换到BSC链。合约重新部署后,替换数据库中合约地址。然后开始铸币,显示成功。但是主页只有2个。我自己铸造的看不见。
image

@floodboad
Copy link

切换到BSC链。合约重新部署后,替换数据库中合约地址。然后开始铸币,显示成功。但是主页只有2个。我自己铸造的看不见。 image

合约部署后还需要将合约编译后的地址等参数配置到后台,还有config.js文件也要修改:
module.exports = {
privateKey: "", // 表示私钥
apiUrl: "https://rinkeby.infura.io/v3/{token}", // rinkeby的rpc
chainId: 4, // rinkeby 的network id
NFTName: "FingerNFT", // nft合约名称
miner: "0x974423356ba75b1aaf24bbec7c8cc8cf0678554f", // 铸造nft时,授权的钱包地址
beneficiary: "0x79aca18162577437cc763e36df07bac6938b0b69", // 收取手续费钱包地址
buyerFeeSigner: "0x364beb2672323691088d9055518b2f750d82eee5", // 交易授权签名
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants