Remixでスマコンをデプロイする
準備Remix(remix.ethereum.org)にアクセスするメタマスク等で、デプロイしたいチェーンにあらかじめ変更しておく下のコードをコピーしておく// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Gm { function gm() public pure returns (string memory) { return "gm"; } } やり方(動画)https://vimeo.com/947462483 以上!

Pill Wheelポチポチbot
まえがきFarcasterのframeは言うてもiframeなのでJavascriptで操作できる。 ポチポチゲーはbot作って自動化しないともったいない。 もちろん無効になるリスクはあるけどリターンとの兼ね合いを考えると躊躇しても意味ない気がする。 だってどうせ短命やん。 今回のターゲットは👇️ https://warpcast.com/pilll/0xeabcccf9注意点不定期にエラーが出ます。おそらくレートリミット。Farcaster側で制御してるっぽく、frame全部がしばらく死にます。 そうなったらしばらく待ってからページをリロードしてコードを実行させたらOKです。やり方調べてください。コード// ボタンのテキストが「🔄Spin -100 points」であるボタンを探す関数 function findButtonByLabel(label) { const buttons = document.querySelectorAll('button'); for (let button of buttons) { if (button.innerText.includ...

How to set the gas fee w/thirdweb.js+ethers.js
IntroductionThis article is how to set the proper gas fee using thirdweb.js(v3.10.10) and ethers.js(v5.7.2). Why is this explanation needed? Because ethers.js has getFeeData() function but it sometimes doesn’t work because the max priority fee is set 1500000000wei, 1.5Gwei. No kidding. Don’t use it if you don’t want any bugs.Hard coding lol.So I was troubled but finally I got the solution for it. I’ll share that.Correct codeThis example is to transfer a token of ERC-1155 using thirdweb.js and...
<100 subscribers
Remixでスマコンをデプロイする
準備Remix(remix.ethereum.org)にアクセスするメタマスク等で、デプロイしたいチェーンにあらかじめ変更しておく下のコードをコピーしておく// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Gm { function gm() public pure returns (string memory) { return "gm"; } } やり方(動画)https://vimeo.com/947462483 以上!

Pill Wheelポチポチbot
まえがきFarcasterのframeは言うてもiframeなのでJavascriptで操作できる。 ポチポチゲーはbot作って自動化しないともったいない。 もちろん無効になるリスクはあるけどリターンとの兼ね合いを考えると躊躇しても意味ない気がする。 だってどうせ短命やん。 今回のターゲットは👇️ https://warpcast.com/pilll/0xeabcccf9注意点不定期にエラーが出ます。おそらくレートリミット。Farcaster側で制御してるっぽく、frame全部がしばらく死にます。 そうなったらしばらく待ってからページをリロードしてコードを実行させたらOKです。やり方調べてください。コード// ボタンのテキストが「🔄Spin -100 points」であるボタンを探す関数 function findButtonByLabel(label) { const buttons = document.querySelectorAll('button'); for (let button of buttons) { if (button.innerText.includ...

How to set the gas fee w/thirdweb.js+ethers.js
IntroductionThis article is how to set the proper gas fee using thirdweb.js(v3.10.10) and ethers.js(v5.7.2). Why is this explanation needed? Because ethers.js has getFeeData() function but it sometimes doesn’t work because the max priority fee is set 1500000000wei, 1.5Gwei. No kidding. Don’t use it if you don’t want any bugs.Hard coding lol.So I was troubled but finally I got the solution for it. I’ll share that.Correct codeThis example is to transfer a token of ERC-1155 using thirdweb.js and...
Share Dialog
Share Dialog
ERC-721=NFT
ERC-1155=NFTとFTの合いの子
ERC-721=NFT
ERC-1155=NFTとFTの合いの子
No comments yet