faucets.vue 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <template>
  2. <main class="py-8 overflow-x-hidden">
  3. <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-7xl lg:px-8">
  4. <header class="px-2 lg:px-10 mt-5 w-full">
  5. <h1 class="text-4xl font-bold text-gray-500">
  6. Testnet Faucets
  7. </h1>
  8. <p class="max-w-xl text-gray-500 p-2 mt-5">
  9. Simply select your preferred crypto from the available faucets below, enter your <strong class="text-rose-500">"Testnet" Address</strong> and click:
  10. <span class="my-2 block text-2xl text-indigo-500 font-bold">
  11. START MINING
  12. </span>
  13. These faucets drip coins every 30 seconds...
  14. </p>
  15. </header>
  16. <!-- Page Section -->
  17. <section class="px-2 lg:px-10 mt-10 grid grid-cols-1 lg:grid-cols-3 gap-5">
  18. <button
  19. class="p-5 bg-rose-500 rounded-xl border-4 border-rose-300 text-xl text-yellow-100 font-bold"
  20. @click="loadAvalanche"
  21. >
  22. <h1 class="text-4xl">Avalanche</h1>
  23. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  24. <span class="text-right text-rose-200 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  25. <span class="text-left mt-1 ml-2 text-base">
  26. Fuji
  27. </span>
  28. <span class="text-right text-rose-200 text-xs mt-1 mr-2 uppercase">Asset</span>
  29. <span class="text-left mt-1 ml-2 text-base">tAVAX</span>
  30. </div>
  31. </button>
  32. <button
  33. class="p-5 bg-yellow-500 rounded-xl border-4 border-yellow-300 text-xl text-yellow-100 font-bold"
  34. @click="loadBinance"
  35. >
  36. <h1 class="text-4xl">Binance</h1>
  37. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  38. <span class="text-right text-yellow-900 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  39. <span class="text-left mt-1 ml-2 text-base">
  40. SmartChain
  41. </span>
  42. <span class="text-right text-yellow-900 text-xs mt-1 mr-2 uppercase">Asset</span>
  43. <span class="text-left mt-1 ml-2 text-base">tBSC</span>
  44. </div>
  45. </button>
  46. <button
  47. class="p-5 bg-green-700 rounded-xl border-4 border-green-500 text-xl text-gray-100 font-bold"
  48. @click="loadBitcoinCash"
  49. >
  50. <h1 class="text-4xl">Bitcoin Cash</h1>
  51. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  52. <span class="text-right text-green-300 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  53. <span class="text-left mt-1 ml-2 text-base">
  54. Testnet3
  55. <svg @click.stop="toggleBCH" class="w-4 h-4 inline ml-0 hover:text-pink-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"></path></svg>
  56. </span>
  57. <span class="text-right text-green-300 text-xs mt-1 mr-2 uppercase">Asset</span>
  58. <span class="text-left mt-1 ml-2 text-base">tBCH</span>
  59. </div>
  60. </button>
  61. <button
  62. class="p-5 bg-gray-500 rounded-xl border-4 border-gray-300 text-xl text-gray-100 font-bold"
  63. @click="loadRopsten"
  64. >
  65. <h1 class="text-4xl">Ethereum</h1>
  66. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  67. <span class="text-right text-purple-200 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  68. <span class="text-left mt-1 ml-2 text-base">
  69. Ropsten
  70. <svg @click.stop="toggleETH" class="w-4 h-4 inline ml-0 hover:text-pink-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"></path></svg>
  71. </span>
  72. <span class="text-right text-purple-200 text-xs mt-1 mr-2 uppercase">Asset</span>
  73. <span class="text-left mt-1 ml-2 text-base">tETH</span>
  74. </div>
  75. </button>
  76. <button
  77. class="p-5 bg-yellow-600 rounded-xl border-4 border-yellow-400 text-xl text-yellow-100 font-bold"
  78. @click="loadNexa"
  79. >
  80. <h1 class="text-4xl">Nexa</h1>
  81. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  82. <span class="text-right text-yellow-200 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  83. <span class="text-left mt-1 ml-2 text-base">
  84. Nexa
  85. </span>
  86. <span class="text-right text-yellow-200 text-xs mt-1 mr-2 uppercase">Asset</span>
  87. <span class="text-left mt-1 ml-2 text-base">tNEX</span>
  88. </div>
  89. </button>
  90. <button
  91. class="p-5 bg-gray-700 rounded-xl border-4 border-gray-500 text-xl text-gray-100 font-bold"
  92. @click="loadKovan"
  93. >
  94. <h1 class="text-4xl">Polygon</h1>
  95. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  96. <span class="text-right text-purple-200 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  97. <span class="text-left mt-1 ml-2 text-base">
  98. Mumbai
  99. </span>
  100. <span class="text-right text-purple-200 text-xs mt-1 mr-2 uppercase">Asset</span>
  101. <span class="text-left mt-1 ml-2 text-base">tMATIC</span>
  102. </div>
  103. </button>
  104. <button
  105. class="p-5 bg-green-600 rounded-xl border-4 border-green-400 text-xl text-gray-100 font-bold"
  106. @click="loadSmartBCH"
  107. >
  108. <h1 class="text-4xl">Smart Bitcoin</h1>
  109. <div class="grid grid-cols-2 text-sm mt-2 flex items-center">
  110. <span class="text-right text-green-900 text-xs mt-1 mr-2 uppercase">Blockchain</span>
  111. <span class="text-left mt-1 ml-2 text-base">
  112. Amber
  113. </span>
  114. <span class="text-right text-green-900 text-xs mt-1 mr-2 uppercase">Asset</span>
  115. <span class="text-left mt-1 ml-2 text-base">tSBCH</span>
  116. </div>
  117. </button>
  118. </section>
  119. </div>
  120. </main>
  121. </template>
  122. <script>
  123. export default {
  124. data: () => {
  125. return {
  126. //
  127. }
  128. },
  129. head: () => ({
  130. title: 'Testnet Faucets — APECS Dev',
  131. meta: [
  132. {
  133. hid: 'description', // `vmid` for it as it will not work
  134. name: 'description',
  135. content: `Testnet Faucets`
  136. }
  137. ]
  138. }),
  139. methods: {
  140. loadBitcoinCash() {
  141. window.open('https://tbch.googol.cash/')
  142. },
  143. loadSmartBCH() {
  144. window.open('http://34.92.246.27:8080/faucet')
  145. },
  146. loadRopsten() {
  147. window.open('https://faucet.dimensions.network/')
  148. },
  149. loadKovan() {
  150. window.open('https://ethdrop.dev/')
  151. },
  152. loadBinance() {
  153. window.open('https://testnet.binance.org/faucet-smart')
  154. },
  155. loadNexa() {
  156. alert('faucet is coming soon...')
  157. },
  158. loadAvalanche() {
  159. window.open('https://faucet.avax.network/')
  160. },
  161. toggleBCH() {
  162. alert('Testnet4 is coming soon..')
  163. },
  164. toggleETH() {
  165. alert('Kovan is coming soon..')
  166. },
  167. },
  168. created: async function () {
  169. /* Retrieve session. */
  170. // const session = await this.hasSession()
  171. // .catch(err => console.error('Session Error:', err))
  172. /* Validate session. */
  173. // if (!session) {
  174. // return
  175. // }
  176. },
  177. mounted: function () {
  178. //
  179. },
  180. }
  181. </script>