1647568800
Tool to bind BEP2 tokens and BEP20 tokens. please refer to document for detail bind mechanism.
Compile token bind tool:
make build
Generate temp account (Deploy contract on Binance Smart Chain):
./build/token-bind-tool initKey --network-type {testnet/mainnet}
Example response:
Temp account: 0xde9Aa1d632b48d881B50528FC524C88474Ec8809, Explorer url: https://bscscan.com/address/0xde9Aa1d632b48d881B50528FC524C88474Ec8809
Transfer 1 BNB to the temp account.
2.1 Cross chain transfer
bnbcli bridge transfer-out --expire-time `expr $(date +%s) + 3600` \
--chain-id Binance-Chain-Tigris --from {keyName} --node http://dataseed4.binance.org:80 \
--to {temp account address} --amount 100000000:BNB
Example command:
bnbcli bridge transfer-out --expire-time `expr $(date +%s) + 3600` \
--chain-id Binance-Chain-Tigris --from bep2TokenIssuer --node http://dataseed4.binance.org:80 \
--to 0xde9Aa1d632b48d881B50528FC524C88474Ec8809 --amount 100000000:BNB
2.2 You can also transfer BNB from other Binance Smart Chain account with Metamask.
Suppose you have already issued a BEP2 token, and you want to deploy a BEP20 token and bind it with existing BEP2 token:
Import bep2 token owner key(Send bind transaction on Binance Chain):
1.1 From ledger: connect ledger to your computer and open Binance Chain App
bnbcli keys add bep2TokenIssuer --ledger --index {your ledger key index}
1.2 From mnemonic:
bnbcli keys add bep2TokenIssuer --recover
Prepare BEP20 contract code
2.1 You can refer to BEP20 Template and modify it according to your own requirements.
NOTE 1: Ensure the BEP20 symbol is identical to the prefix of a BEP2 token symbol. Suppose a BEP2 token symbol is ABC-123
, then the BEP20 symbol must be ABC
.
NOTE 2: Ensure the total supply equals to the BEP2 token total supply. As we know, the decimals of BEP2 tokens are 8, if the BEP20 decimal is 18, then the BEP20 total supply must be BEP2_total_supply*10^10
.
NOTE 3: If your BEP2 token is mintable, then you'd better implement mint
in BEP20 contract. Otherwise, you'd better remove mint
in BEP20 contract.
2.2 Compile your contract with Remix and get contract byte code:
Edit script/contract.json
to add contract byte code:
{
"contract_data": ""
}
Fill contract byte code to contract_data
Deploy contract, bind and transfer ownership:
./script/bind.sh {mainnet/testnet} {bep2TokenIssuerKeyName} {password, for ledger key, use empty string: ""} {peggyAmount} {bep2 token symbol} {token owner} {path to bnbcli or tbnbcli}
Example command:
./script/bind.sh testnet bep2TokenIssuer "12345678" 0 ABC-D9B 0xaa25Aa7a19f9c426E07dee59b12f944f4d9f1DD3 $HOME/go/bin/tbnbcli
Suppose you have already issued BEP2 token, deployed BEP20 contract and sent bind transaction, now you just want to approve bind from your Ledger device:
./build/token-bind-tool approveBindFromLedger --bep2-symbol {bep2 symbol} --bep20-contract-addr {bep20 contract address} \
--ledger-account-index {ledger key index} --peggy-amount {peggy amount} --network-type {mainnet/testnet}
Suppose you just want to deploy a BEP20 contract and transfer all token and ownership to your owner account, then you can try this command:
./build/token-bind-tool deployBEP20ContractTransferTotalSupplyAndOwnership --bep20-owner {bep20 owner} \
--config-path {contract byte code path, refer to `script/contract.json`} --network-type {mainnet/testnet}
./build/token-bind-tool refundRestBNB --network-type {mainnet/testnet} --recipient {bsc account}
Author: bnb-chain
Source Code: https://github.com/bnb-chain/token-bind-tool
License: Apache-2.0 License
#binance #blockchain #golang #crypto
1637718707
How to Create BEP20 Token? BEP20 Token Create Tool
If you would like to create BEP20 token under Binance Smart Chain without any coding skills, you are invited to use the BEP20 Token Generator which is free and easy to use with its user friendly interface.
BEP20 Token Generator: https://createmytoken.net/
ERC20 Token Generator: https://createmytoken.net/
BEP20 Token Generator is a free DApp which allows you to create your own BEP20 token in less than a minute.
How to use the BEP20 Token Generator
It is super easy to use the tool
Install Metamask and login.
Enter your token details such as name, symbol, decimals and supply.
Create your token.
#bsc #bep20 #token #bep20 #tokenization create #solidity #metamask #erc20 #erc 20
1647285752
With TheTokenPlant's BEP20 Token Generator's easy and smooth interface, you don't need any coding skills to create BEP20 Token on Binance Smart Chain.
BEP20 Token Generator: https://thetokenplant.github.io/bep20-generator/
You can create your own BEP20 token in less than a minute with BEP20 Token Generator. It is a free DApp with user friendly interface.
Let me intrduce you to BEP20 token;
Smart Contracts are softwares that acts purely as they are programmed against fraud, cencorship, downtime or third-party control. These apps are built on a Blockchain, a powerful joint global infrastructure that can move value and reflect property ownership.
A Token is a Smart Contract represents digital assets that may be sent and received with it's own value.
It's particularized on BEP20 how the token of the API's smart contracts should be implemented. It is based on ERC20 (Ethereum's)protocol and offers the fundamental functionality of transferring tokens, approving tokens so they may be spent by another on-chain third party, and transferring between Binance Chain and Binance Smart Chain.
How to create ERC20 token by using TokenPlant?
It is super easy to use the tool
Install and login to Metamask.
Enter your token name, symbol, decimals and supply.
Create your token.
Your Token will be completely compliant with the BEP20 specification and will work with any BEP20 wallet anywhere on the planet. It will have a Name, a Symbol, and a quantity in decimals.
https://thetokenplant.github.io/bep20-generator/
#bsc #bep20 #token #bep20 token create #solidity #metamask
1626259825
How to Create BEP20 Token? BEP20 Token Create Tool
If you would like to create BEP20 token under Binance Smart Chain without any coding skills, you are invited to use the BEP20 Token Generator which is free and easy to use with its user friendly interface.
BEP20 Token Generator: https://tokencenter.github.io/bep20-generator/
BEP20 Token Generator is a free DApp which allows you to create your own BEP20 token in less than a minute.
How to use the BEP20 Token Generator
It is super easy to use the tool
Install Metamask and login.
Enter your token details such as name, symbol, decimals and supply.
Create your token.
#bsc #bep20 #token #bep20 token create #solidity #metamask
1623619951
Create a BEP20 Token in less than a minute with the new Smart Contract Generator for Binance Smart Chain. No login. No setup. No coding required.
#bep20 #token #bep20token #bep20generator #bep20 generator #binance
1623523165
Create a BEP20 Token in less than a minute with the new Smart Contract Generator for Binance Smart Chain. No login. No setup. No coding required.
BEP20 Token Generator
please visit : lgctoken.com
#bep20 #erc20 #bep20generator #bep20 generator #bep20 maker #bsc