https://nodejs.org/en
node -v
npm -v
git clone 명령어를 통해 소스코드를 다운 가능. (git이 없다면 설치 필요할 것임)
git clone https://github.com/suropark/evm-inscription-mint.git
cd evm-inscription-mint
Windows 컴퓨터에 git이 설치되어 있지 않은 경우 먼저 아래 웹사이트에 접속하여 git 소프트웨어를 다운로드하여 설치하세요.
https://gitforwindows.org
cp config.js.example config.js
const config = {
// 반복 횟수 설정
repeatCount: 1,
// �현재 가스 기준 가스비 얼마나 증가시킬지 20%?
increaseGas: 1.2,
// 지갑의 개인 키
privateKey: "",
// 비문 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",
};
npm i
or
yarn install
node index.js
or
yarn start
or
npm run start