# Base 部署合约领取NFT

By [葡萄 @0xPutao](https://paragraph.com/@0xputao) · 2023-04-07

---

**hello 大家好 我是葡萄，今天带来的是Base 部署合约、领取NFT的教程**

关注我推特

话不多说了

goerli领水地址：

[

Ethereum Sepolia Faucet
-----------------------

A fast and reliable Ethereum Sepolia testnet faucet for blockchain developers.

https://www.alchemy.com

![](https://storage.googleapis.com/papyrus_images/8c288575eb776a78157dfb34aebbbf0288fbd414d87c0c5184d4f82c1809e1fb.png)

](https://t.co/vCjQsxe4cV)

[https://t.co/dg0t1vA9Kd](https://t.co/dg0t1vA9Kd)

[

Faucet Link Directory For Ethereum Testnets
-------------------------------------------

Faucet Link is a directory of faucets for the Ethereum testnets Holesky and Sepolia. Liveliness is actively monitored to highlight those that are currently working.

https://faucetlink.to

![](https://storage.googleapis.com/papyrus_images/1f53e3112d86f52b17b030056d678f855dd7a6c565a7327c4559855ca5c1e01f.png)

](https://t.co/L5HPUuMJUC)

[https://t.co/DUgxHbO6K3](https://t.co/DUgxHbO6K3)

[

All That Node
-------------

Ethereum testnet tokens enable devs to build & test. Boost your building experience with our multi-chain faucets.

https://www.allthatnode.com

![](https://storage.googleapis.com/papyrus_images/8f3ca00b8d176c8c72b36349386951fb637a4bd30498697f4db3948a3c7223b5.png)

](https://www.allthatnode.com/faucet/ethereum.dsrv)

[

Ethereum Sepolia Faucet - Get Testnet Tokens
--------------------------------------------

Get testnet tokens on the Ethereum Sepolia network. Multiple assets available. Experiment with smart contracts today.

https://faucets.chain.link

![](https://storage.googleapis.com/papyrus_images/5f0baab1a81760e1e3c194d70a5bf99a411d127f805291a3c034bf30eb46e6cb.png)

](https://t.co/mJbAknB2Hi)

[

MyCrypto - Ethereum Wallet Manager
----------------------------------

Securely manage ALL of your crypto accounts with MyCrypto. Swap, send, and buy crypto with your favorite wallets like Ledger, MetaMask, and Trezor.

https://app.mycrypto.com

![](https://storage.googleapis.com/papyrus_images/abbe72e425ddaf67f381012e56501ee9f4071f0075d3ca201cb5359e123f0dd3.png)

](https://t.co/IyzOvAZkB8)

[

Paradigm MultiFaucet | Bootstrap your testnet wallet
----------------------------------------------------

MultiFaucet funds a wallet with ETH, wETH, DAI, and NFTs across 8 testnet networks, at once.

https://faucet.paradigm.xyz

![](https://storage.googleapis.com/papyrus_images/49312391389e588da0dc54a8b26161ed9f93e4e0bf6615a378f87d2feb2ae061.png)

](https://t.co/QZg6j5ezNc)

[

Testnet Claim
-------------

Testnet ETH claim for prior Ethereum developers.

https://grabteeth.xyz



](https://t.co/thWKOzjfkr)

第一步：进网站Goerli 测试网并跨链到 Base 测试网

[

Bridges - Base Documentation
----------------------------

Documentation for bridging assets to Base. This page covers how to bridge ETH and ERC-20s between Ethereum (L1) and Base along with essential information.

https://docs.base.org

![](https://storage.googleapis.com/papyrus_images/c579bd940abb357c993cb554eb2ff1cb88ecfc023f8ddc748f4d8225801994ed.png)

](https://t.co/clkwhoN4RI)

![](https://storage.googleapis.com/papyrus_images/5d4e866e27ba574cbd373f07316cfe1740419f1b7c5455e11c9f10cc7ddfa5aa.png)

等待2分钟会到达base链

![](https://storage.googleapis.com/papyrus_images/82a9f2f6b1d03f94fd9fa903ed99d3d789ef54c29f61e076dfa3dd5df6acaab3.png)

**然后添加base的rpc切换到base链**

网络名称：Base Goerli Testnet

RPC URL：（[https://base-goerli.rpc.thirdweb.com/fb52f0ca630bdd02f0d5210d9e8e3568272ac765dd0709272918eefb29d3ac9e）](https://base-goerli.rpc.thirdweb.com/fb52f0ca630bdd02f0d5210d9e8e3568272ac765dd0709272918eefb29d3ac9e%EF%BC%89)

链 ID：84531

货币符号：ETH

区块浏览器 URL：（[https://base-goerli.blockscout.com）](https://base-goerli.blockscout.com%EF%BC%89)

![](https://storage.googleapis.com/papyrus_images/49387babce67d23f21997d7ce1abdddd5f08cec886cb9e55bd238305eefd05b9.png)

第二步：进网站在base链部署合约

[https://remix.ethereum.org/?#code=Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC45OwoKY29udHJhY3QgU3VwZXJDb29sQ29udHJhY3Qgewp9Cg&lang=en&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.18+commit.87f61d96.js](https://remix.ethereum.org/?#code=Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC45OwoKY29udHJhY3QgU3VwZXJDb29sQ29udHJhY3Qgewp9Cg&lang=en&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.18+commit.87f61d96.js)

务必在部署合约前，先用自己钱包随便发送一笔交易到别的地址，要不然合约部署会失败

网站左侧点击 Deploy，选择 Injected Provider，连接小狐狸钱包

![](https://storage.googleapis.com/papyrus_images/48445577704ba76a190960059eacb827b6543ba086deec05e36e71ed5c8e1ac9.png)

然后进第三方平台thirdweb来部署一个智能合约

[

thirdweb: The complete web3 development platform
------------------------------------------------

Build web3 apps easily with thirdweb's powerful SDKs, audited smart contracts, and developer tools-for Ethereum & 700+ EVM chains. Try now.

https://thirdweb.com

![](https://storage.googleapis.com/papyrus_images/2d72f9cdb83d3c03ab281a6fd637c2286f1db46ae74ca1dfa4c172a3a8a45c71.png)

](https://thirdweb.com/thirdweb.eth/DropERC1155)

连接钱包，右上角点Deploy now

星号部分必填，随便填

![](https://storage.googleapis.com/papyrus_images/1f4d5a4f2844f93015dd791a188c0af8d56dcc3be51233eea6c687c8af620a37.png)

然后最下面这里，设置base测试网

![](https://storage.googleapis.com/papyrus_images/655c46627d860ece5b21506806f8beb15146fb0c6e76652fc93169473e209ec4.png)

进来以后点搜索选择base goerli测试网

![](https://storage.googleapis.com/papyrus_images/68cc1758b634773cbc348d54fca9012243d28069f3fa6e736a8c4e1e98d7082e.png)

点这里

![](https://storage.googleapis.com/papyrus_images/861779237933d9fe753ea44689701e7165daf88ffaf52967449a42dc0f597bef.png)

然后打叉回来这里变了就行，点部署-等待1分钟-确认小狐狸

![](https://storage.googleapis.com/papyrus_images/95b5ef39738a58e20d6f30c9874b2b76f17b435d168fba741e43231a0401a9fc.png)

![](https://storage.googleapis.com/papyrus_images/965e70624c4703a7c45da3f7a9462e20b91e5018864423acea455a6de0273151.png)

然后会跳转到部署好的页面

上面是你设置的币的名字

**下面是合约 复制合约**

![](https://storage.googleapis.com/papyrus_images/205670566ad245c3c6cd831e38c4052d6d57cce353418ecc1fc77dbecb02d877.png)

然后打开网站链接钱包

[quests.base.org/quest](https://t.co/ANnx8OaXWo)

然后点这里验证合约

![](https://storage.googleapis.com/papyrus_images/4d1a0d001c66aaee3c26f27982751e21ff0f901b5b4717af2345b93f27af76de.png)

把你刚才部署的合约地址复制到这里，点击验证

![](https://storage.googleapis.com/papyrus_images/16bee950d73b3c68881b8365803ad22c058955356378810f7d7a8b448aedd82d.png)

绿色就ok了，点下一步

![](https://storage.googleapis.com/papyrus_images/456c25e3973f8b6823b6e9b37ae6315b5059da58537faa65eff3ec27b43f5122.png)

然后就可以mint NFT了

![](https://storage.googleapis.com/papyrus_images/55fce029a52ff15cc61f82af2277182aa5487f26b267b1ef7da3932af25bc03a.png)

小狐狸确认等待一会提示认领成功

![](https://storage.googleapis.com/papyrus_images/f829deeae834e102b8c70fd3f881b4be3d9b45e6391ebda5f5b2ce7fe215b720.png)

至此结束

如果你缺goerliETH的水可以关注我推特

我每天都会抽奖30人送GETH，下一个就是你~~

好啦 拜拜┏(＾0＾)┛

---

*Originally published on [葡萄 @0xPutao](https://paragraph.com/@0xputao/base-nft)*
