# Pointer

By [zq1155.eth](https://paragraph.com/@zq1155) · 2022-01-29

---

[https://www.pointer.gg/tutorials/thirdweb-nft-lootbox](https://www.pointer.gg/tutorials/thirdweb-nft-lootbox)

MATIC和LINK测试币: [https://faucet.polygon.technology/](https://faucet.polygon.technology/)

创建新项目: [https://thirdweb.com/dashboard](https://thirdweb.com/dashboard)

    git clone https://github.com/ericet/EasyLootBox
    cd EasyLootBox
    npm install
    mv .env.example .env
    

创建Bundle

`node 1-create-bundle-module.js`

铸造Bundle
--------

`node 2-mint-bundle-nfts.js`

创建卡包
----

`node 3-create-pack-module.js`

生成卡包
----

`node 4-create-pack-from-bundle.js`

充值LINK
------

`node 5-deposit-link.js`

开包
--

`node 6-open-pack.js`

---

*Originally published on [zq1155.eth](https://paragraph.com/@zq1155/pointer)*
