# วิธีทดลองใช้ AltLayer Rollup Launchpad ด้วย IDE แบบง่ายๆ **Published by:** [My Web3 Article](https://paragraph.com/@nikka/) **Published on:** 2023-04-20 **Categories:** altlayer **URL:** https://paragraph.com/@nikka/%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B8%97%E0%B8%94%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%8A%E0%B9%89-altlayer-rollup-launchpad-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-ide-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86 ## Content 1/ เปิดเว็บ AltLayer Rollup Launchpad ที่ https://dashboard.alt.technology และเข้าสู่ระบบด้วยอีเมล2/ เมื่อ Log in แล้วจะเห็นหน้า rollup launchpad เลือก Create ด้านซ้าย จากนั้นเลือก Free Trial (2hour)3/ตั้งค่า Flash Layer ตามที่ต้องการ -Transaction processing mode Fair sequencing: ค่าแก๊สคงที่ อัดแก๊สแข่งไม่ได้ Priority gas auction: อัดแก๊สแข่งได้ ตั้ง flash layer name, block gas limit, block time, Native currency name, symbol ตามสบาย Genesis account addresses and balances ใส่ address เราและจำนวนเหรียญที่ต้องการ ตรวจสอบข้อมูล Flash Layer หลังจากตรวจสอบแล้ว คลิกที่ "Create"4/รอประมาณ 5 นาที flash layer จะ active จากนั้น กดที่มุมขวาล่างเลือก switch to network เพื่อเปลี่ยนไปใช้ flash layer ที่สร้าง5/ตอนนี้เราจะไปสร้าง smart contract บน flash layer ของเราด้วย IDE ถ้าไม่มีสคริปต์ใช้ของผมที่แปะไว้ได้เลย เป็นสคริปต์มิ้นเหรียญERC20ง่ายๆ กด new file ตั้งชื่อ ก๊อปวางได้เลยครับ Script สร้างเหรียญแบบง่ายๆ ก๊อปวงเล็บให้ครบ https://paragraph.xyz/@nikka/CLAoI1kjHco4JWoSPaGO6/ จากนั้นไปที่ compiler กรณีใช้สคริปต์ด้านบนให้เลือกเวอร์ชั่น 0.8.18 แล้วกดปุ่ม compile สีฟ้าๆ7/ไปที่หน้า deploy & run เปลี่ยน network ใน metamask เป็น flash layer ที่สร้างไว้ Environment เลือกเป็น injected provider - metamask Contract เลือกสคริปต์ที่เราสร้างไว้ แล้วกด deploy สีส้มๆ ย้ำ เช็ค network ให้ดีๆ ถ้าไปเลือกเชนจริง จะเสียค่าแก๊สฟรี8/ หลังจากกด deploy จ่ายแก๊สแล้ว ให้เลื่อนลงมา ตรง deployed contracts จะมี contract ของเราขึ้นมาด้านล่าง 9/ กรณีใช้สคริปต์ด้านบน แล้วต้องการ interact กับ contract ที่เรา deploy บน Flash Layer ไปที่ฟังก์ชั่น mint ใส่ address ใส่จำนวนที่ต้องการแล้วตามด้วยเลข 0 18 ตัว กด transact เป็นอันเสร็จสิ้น สามารถเช็คเหรียญใน wallet ได้ด้วยการ add token จาก address หลังชื่อ contract ## Publication Information - [My Web3 Article](https://paragraph.com/@nikka/): Publication homepage - [All Posts](https://paragraph.com/@nikka/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@nikka): Subscribe to updates ## Optional - [Collect as NFT](https://paragraph.com/@nikka/%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B8%97%E0%B8%94%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%8A%E0%B9%89-altlayer-rollup-launchpad-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-ide-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86): Support the author by collecting this post - [View Collectors](https://paragraph.com/@nikka/%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B8%97%E0%B8%94%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%8A%E0%B9%89-altlayer-rollup-launchpad-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-ide-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86/collectors): See who has collected this post