0.0.6 • Published 5 months ago

viem-evm-inscription-mint v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

兼容EVM链的铭文自动化Mint脚本

🛠 使用说明

Step 1: 修改src目录下的 config.ts 配置文件

const config = {
    // 你想要打多少张,这里就设置多少,建议单次别超过 50,不然容易不上链
    repeatCount: 1,

    // 在当前的 gas 基础上增加多少倍
    increaseGas: 1.2,

    // 你钱包的私钥
    privateKey: "",

    // 铭文json数据(替换成你想打的铭文json格式数据)
    tokenJson: 'data:,{"p":"fair-20","op":"mint","tick":"fair","amt":"1000"}',

    // RPC结点(兼容 evm 链都行)打哪条链就用哪条链的节点地址
    // eth =>  https://mainnet.infura.io/v3
    // arb => https://arb1.arbitrum.io/rpc
    // polygon => https://polygon-rpc.com
    // op => https://mainnet.optimism.io
    // linea => https://mainnet.infura.io/v3
    // scroll => https://rpc.scroll.io
    // zks => https://mainnet.era.zksync.io
    rpcUrl: "https://arb1.arbitrum.io/rpc"
}

Step 2: 安装依赖包

npm i

or

pnpm install

Step 3: 运行 Mint 脚本程序

pnpm start

or

npm run start
0.0.6

5 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago