![]() The token name and token symbol will be automatically detected. Enter the contract address which we deployed.Click on the Add Token button on the bottom of the selected MetaMask account.Now we will check the SBT balance of our recipient wallet(which is also one of my accounts) on MetaMask. The recipient wallet will be credited with 10 SBT.Ĭool □□ Now you can deploy as many tokens as you want.The same procedure can be followed to deploy smartcontracts on BSC mainnet. Now if we again check the balance of the owner wallet using the balanceOfmethod on Remix, it will be 10 tokens less than a million. We can check the transaction status on BSCScan Testnet explorer as well. In a few seconds the transaction status can be seen on the Remix IDE logs. Note that this popup includes the amount of token that we entered.Ĭlick on the Confirm button to push the transaction. There will be a popup from the MetaMask again requesting for confirmation of the transaction. Once the recipient address and the amount to send(in 18 precision) are entered, click on the transfer button. Let us now try to transfer the tokens to another wallet using the transfer method. Note: The value displayed is in 18 precision, which is 1M * 10¹⁸. ![]() Also make sure that you have selected the SampleBEP20Token contract in the CONTRACT dropdown (above the Deploy button). The ENVIRONMENT should be Injected Web3 as we are using MetaMask to deploy. After successful compilation, we can move ahead to the deployment panel by clicking the icon below the “Compiler” icon. We have specified the solidity version as 0.8.4 in our code, so we need to choose the same compiler version in the remix also. Also we can navigate to the compilation page by clicking the second option on the navigation panel (leftmost). Pressing Ctrl + S keys will compile the code. We should compile our code before deployment. Or you can also create a new file called SampleBEP20Token.sol and add the code of the BEP20 Token Contract given above. You can import the file using this Gist link. Open up your browser (in which MetaMask is configured) and navigate to the Remix IDE. For adding BSC Testnet/Mainnet to your MetaMask, you can refer here. Note: We are going to deploy the contract to BSC Testnet using MetaMask, so please make sure that you have MetaMask added to your browser with BSC testnet configured. In this article, we will learn to create and deploy a very basic and simple BEP20 token to the BSC testnet using the Remix and MetaMask Token Details: BEP20 token standard is almost similar to the ERC20 standard on Ethereum. As of the number of daily transactions has reached a tremendous mark of 12M.Īlmost in all DeFi projects, one of the common components is a BEP20 token native to the project which will be used for some specific purposes within or even outside their platform. So any smart contract that runs on Ethereum can be deployed on the BSC. In a nutshell, BSC is almost a similar blockchain to Ethereum, but with some small changes. So, everyone started to migrate their projects and infrastructure to various gas efficient platforms and one among those platforms is the Binance Smart Chain (BSC). People were in a situation to pay a 100$ gas fee for a 10$ transaction. ![]() Right from the beginning of the DeFi Summer of 2020, a lot of new cryptocurrency and blockchain-related projects flooded the Ethereum network which resulted in the hike in gas price. The purpose is only to give an overview of how things work. It doesn’t recommend you to buy, sell or trade any cryptocurrencies, and doing so is highly subjected to market risks. This addition of SCRT to Binance Smart Chain lays the groundwork for our next steps towards deploying the Secret BSC bridge on mainnet.Disclaimer: This article is only for informative purposes. This will bring programmable privacy to BSC assets and expand Secret DeFi's role as a privacy-first, front-running resistant liquidity hub. This also means that the BEP20 SCRT token can be used and swapped on BSC applications such as PancakeSwap! PancakeSwap pool for SCRT (BEP20).Īs previously announced, a full bridge between Secret Network and Binance Smart Chain has been in development. The BEP20 SCRT token can be found on BSCscan here: ![]() users can withdraw SCRT directly to Binance Smart Chain as a BEP20 token. Users can also continue to deposit mainnet SCRT to Binance and withdraw SCRT coin to the main Secret Network blockchain, where users can interact with Secret Apps, stake their SCRT, or participate in Secret DeFi (including using SecretSwap, the first AMM secured by Secret Network). We are pleased to share that starting today, SCRT is available to use on Binance Smart Chain and in BSC applications as a BEP20 token.ī users are now able to directly withdraw their SCRT from Binance as a BEP20 asset, as well as deposit BEP20 SCRT onto Binance. ![]()
0 Comments
Leave a Reply. |