Instruction:How to create a Decimal smart contract on the BSC blockchain: Difference between revisions

From Decimal Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "{{#seo: |title= How to create a Decimal smart contract on the BSC blockchain |titlemode= append |keywords= How to create a Decimal smart contract on the BSC blockchain. How to make a cross-chain swap of a custom coin? |description= How to create a Decimal smart contract on the BSC blockchain }} <div class="mikio-article-content"> <div class="mikio-tags"> </div> <span id="How_to_create_a_Decimal_smart_contract_on_the_BSC_blockchain"></span> = How t...")
 
No edit summary
Line 12: Line 12:
</div>
</div>
<span id="How_to_create_a_Decimal_smart_contract_on_the_BSC_blockchain"></span>
<span id="How_to_create_a_Decimal_smart_contract_on_the_BSC_blockchain"></span>
= How to create a Decimal smart contract on the BSC blockchain =
= How to make a cross-chain swap of a custom coin? =
= How to make a cross-chain swap of a custom coin? =
   
   
Line 20: Line 19:
<li><div class="li">
<li><div class="li">


On Decimal console, https://console.decimalchain.com go to the '''Cross-chain''' (https://console.decimalchain.com/crosschain) swap section:
On Decimal console, https://console.decimalchain.com go to the '''Cross-chain''' (https://console.decimalchain.com/crosschain) swap section:</br></br>
 
[[File:1_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>
[[File:1_Decimal_BSC_instruction.png|1000px|class=mediacenter]]  


<li><div class="li">
<li><div class="li">


Make sure that you have a bridge configured between Decimal and Binance blockchains.
Make sure that you have a bridge configured between Decimal and Binance blockchains.
Use the '''Cross-chain Instructions''': https://decimalchain.com/wiki/ru/Instructions:cross-chain
Use the '''Cross-chain Instructions''': https://decimalchain.com/wiki/ru/Instructions:cross-chain</br></br>
 
<li><div class="li">
<li><div class="li">
Check that there are some DEL coins on the Decimal wallet account balance and some BNB coins on the Binance blockchain wallet. The transaction fee will be charged from these two accounts. </br>
Check that there are some DEL coins on the Decimal wallet account balance and some BNB coins on the Binance blockchain wallet. The transaction fee will be charged from these two accounts. </br></br>
[[File:2_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:2_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Choose the custom coin in Decimal and in the '''Amount''' field, insert the amount of tokens being transferred.</br>
Choose the custom coin in Decimal and in the '''Amount''' field, insert the amount of tokens being transferred.</br></br>
[[File:3_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:3_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Copy and Insert the '''Recipient address'''.</br>
Copy and Insert the '''Recipient address'''.</br></br>
[[File:4_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:4_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Press '''Create Transfer''', confirm the transaction data and press '''Confirm'''. </br>
Press '''Create Transfer''', confirm the transaction data and press '''Confirm'''. </br></br>
[[File:5_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:5_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Wait until the swap is created and press '''Ок'''.</br>
Wait until the swap is created and press '''Ок'''.</br></br>
[[File:6_Decimal_BSC_instruction.png|500px|class=mediacenter]] [[File:7_Decimal_BSC_instruction.png|500px|class=mediacenter]] </br>
[[File:6_Decimal_BSC_instruction.png|500px|class=mediacenter]] [[File:7_Decimal_BSC_instruction.png|500px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Click '''Complete''' if the transaction requires confirmation. </br>
Click '''Complete''' if the transaction requires confirmation. </br></br>
[[File:8_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:8_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Confirm that the '''HASH transactions''' on two blockchains are successful, pressing the corresponding links: </br>
Confirm that the '''HASH transactions''' on two blockchains are successful, pressing the corresponding links: </br></br>
[[File:9_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:9_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
On Decimal browser, wait for '''Success status''': </br>
On Decimal browser, wait for '''Success status''': </br></br>
[[File:10_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:10_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
On BscScan, wait for '''Success status''': </br>
On BscScan, wait for '''Success status''': </br></br>
[[File:11_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:11_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>


<li><div class="li">
<li><div class="li">
Smart contract of a custom coin is created automatically during the first transfer, and is indicated on the coin page: </br>
Smart contract of a custom coin is created automatically during the first transfer, and is indicated on the coin page: </br></br>
[[File:12_Decimal_BSC_instruction.png|1000px|class=mediacenter]] </br>
[[File:12_Decimal_BSC_instruction.png|700px|class=mediacenter]] </br></br>
</div>
</div>


[[Category:Instructions]]
[[Category:Instructions]]

Revision as of 12:01, 23 November 2022


How to make a cross-chain swap of a custom coin?

  1. On Decimal console, https://console.decimalchain.com go to the Cross-chain (https://console.decimalchain.com/crosschain) swap section:



  2. Make sure that you have a bridge configured between Decimal and Binance blockchains. Use the Cross-chain Instructions: https://decimalchain.com/wiki/ru/Instructions:cross-chain

  3. Check that there are some DEL coins on the Decimal wallet account balance and some BNB coins on the Binance blockchain wallet. The transaction fee will be charged from these two accounts.



  4. Choose the custom coin in Decimal and in the Amount field, insert the amount of tokens being transferred.



  5. Copy and Insert the Recipient address.



  6. Press Create Transfer, confirm the transaction data and press Confirm.



  7. Wait until the swap is created and press Ок.



  8. Click Complete if the transaction requires confirmation.



  9. Confirm that the HASH transactions on two blockchains are successful, pressing the corresponding links:



  10. On Decimal browser, wait for Success status:



  11. On BscScan, wait for Success status:



  12. Smart contract of a custom coin is created automatically during the first transfer, and is indicated on the coin page: