oasysgames / oasys-opstack

Layer 2, named Verse, built on top of the Oasys gaming blockchain utilizes Opstack.
MIT License
0 stars 1 forks source link

Research about ethereum Libraries #93

Closed tak1827 closed 6 months ago

tak1827 commented 8 months ago

Research about how to handled the transaction confirmation by libraries.

The libraries target to resarch

tak1827 commented 8 months ago

ethers.js

function

ContractTransactionResponse-wait

usage

const tx = await contract.hoge();
await tx.wait();

how to handled

wait until transaction receipt available

tak1827 commented 8 months ago

eth_sendRawTransaction https://docs.infura.io/networks/ethereum/json-rpc-methods/eth_sendrawtransaction