sfter / evm-inscription-mint Goto Github PK
View Code? Open in Web Editor NEW兼容 evm 的铭文 Mint 工具
兼容 evm 的铭文 Mint 工具
不太明白 烦请帮忙解释一下
async function sendTransactions() {
const currentNonce = await getCurrentNonce(wallet);
const gasPrice = await getGasPrice();
for (let i = 0; i < config.repeatCount; i++) {
await sendTransaction(currentNonce + i, gasPrice);
}
}
await sendTransaction(currentNonce + i, gasPrice); 这句,这个gasPrice参数是不是没有必要?
{
"p": "GRC20",
"op": "mint",
"tick": "GitHub",
"amt": "2000"
}
我执行到这行代码的时候报错,好像说是检测不到网络?我网络是正常的,这个问题应该怎么解决
我准备打雪崩链的铭文,rpcUrl: "https://avalanche-mainnet.infura.io",我看雪崩链应该是支持evm的
{
"p": "GRC20",
"op": "mint",
"tick": "GitHub",
"amt": "2000"
}
Error in transaction with nonce 10503: processing response error (body="{"jsonrpc":"2.0","id":56,"error":{"code":-32000,"message":"transaction underpriced"}}", error={"code":-32000}, requestBody="{"method":"eth_sendRawTransaction","params":["0x02f8a381cc82290780808255d8947f3afe1e5097f298ea8c405bb731c2c9915ffc2b80b83d646174613a2c7b2270223a226f70622d3230222c226f70223a226d696e74222c227469636b223a226f70626e6273222c22616d74223a2231303030227dc001a08dfb418f6a0efbb91306ef3fca9df26150bfcfe46e4181c9bb82ebfead77710fa0113110aa58dd8b1bcd49303b158fdc30f7307aaffdeceef970b84b7b34d9396d"],"id":56,"jsonrpc":"2.0"}", requestMethod="POST", url="https://opbnb-mainnet-rpc.bnbchain.org", code=SERVER_ERROR, version=web/5.7.1)
会不会偷偷手机私钥啊
reason: 'processing response error',
code: 'SERVER_ERROR',
body: {"jsonrpc":"2.0","error":{"code":3,"message":"invalid sender. can't start a transaction from a non-account","data":"0x"},"id":50}
,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.