NFT minting website on BSC

Hey!

I am working on a project, 5000 randomly generated NFT's on the BSC network.
I want a minting website where buyers can mint a random NFT for a price, receive that NFT and view or "reveal" it on the website. sort of like this: https://trunkiesnft.com/
I have some decent web development knowledge, however I haven't managed to find any documentation or tutorial on the BSC network.
I would appreciate it if someone could outline/ direct me in the direction I should go.
I'm willing to put time and effort in to make this work, I just need the right documentation.

Thank you!

1 Like

To develop on the Binance Smart Chain network, all the existing development environments for the Ethereum network serve you. Both the REACT - Truffle- Web3 package, and REACT -Hardhat - Ethers.js

If you are a web developer you will also know how to create a Dapp with other technologies, Vue, laravel, etc.

All the standard contracts of this community also serve you since the BEP20 contracts are clones of ERC20

It will be much easier for you to implement in this network since you do not need to connect to an api of a node. The connection to BSC is made through the metamask.

Follow any tutorial to develop contracts in Ethereum and you will only have to apply it to the BSC network

2 Likes

in contract Mint price set as 0.5 ether, so should we change "ether" with "bnb" or else?

I don't know if you mean the cost of gas for mining tokens. Gas is much cheaper in BSC than in Ethereum, as are other similar networks, such as Polygon or Solana.

If you refer to the cost that you will establish for buying each NFT, it may be the one you consider appropriate. You will simply charge in BNBs instead of Eths.

A BNB has the same structure as an ETHER, for example both have 18 decimal places, both are main tokens, therefore, there is no problem to transfer a contract standard such as ERC721 to the BSC network

2 Likes

Thanks for prompt response and explaining the things.

Sounds fantastic. Do you have any links to a video or documentation on such? I have only found this (https://www.youtube.com/watch?v=IO2Hk-_a3BI&list=PLvfQp12V0hS1aYCrU5CziyxKxie6OPPPS) playlist which is what I need, however it's on the polygon network.

Thanks!

nice tuts. can we get it on BSC network?

Any tutorial on creating a Daap in ethereum is useful for BSC. The only thing that you have
to consider is the network configuration in your configuration file of your development environment.

For example, here you have the network configuration in a project in Hardhat:

hardhat.config.js:

networks: {
    localhost: {
      url: "http://127.0.0.1:8545"
    },
    hardhat: {
    },
    testnet: {
      url: "https://data-seed-prebsc-2-s3.binance.org:8545",
      chainId: 97,
      gasPrice: 20000000000,
      accounts: [`0x${PRIVATE_KEY}`]
    },
    mainnet: {
      url: "https://bsc-dataseed.binance.org/",
      chainId: 56,
      gasPrice: 20000000000,
      accounts: [`0x${PRIVATE_KEY}`]
    }
  }

The rest is the same as deploying it on the Ethereum network

I recommend that you do a tutorial on creating a dapp for ethereum and adapt it for BSC.

For example, this:

For the front part, hit REACT if you don't know it. Although of course you can integrate the ethers.js or web3.js libraries in any project with node.js

1 Like

Hey! Did you find any information on this? I am about to create a website also with a minting function for a fixed price but I haven't found anything useful for BSC other than this

But that's on Solana. Any ideas? We could work together on alternate projects and units our strengths hehe. We're too early here.

Edit: just found this for ETH

I developed Mint Dapp with ETH and BSC. I will share the link soon.