Questions regarding the development of crypto currencies. Explore the latest questions and answers in Cryptocurrency and find Cryptocurrency experts.

wut is the sablier create stream example in web3js instead of ethersjs?

wut is the web3js for this ethers example from docs.sablier.finance: const sablier = new ethers.Contract(0xabcd…, sablierABI, signer); // get a handle for the Sablier contract const recipient = 0xcdef…; const deposit = “2999999999999998944000”; // almost 3,000, but not quite const now = Math.round(new Date().getTime() / 1000); // get seconds since unix epoch const startTime =…

revert but mined

I ran a contract here, I got the message “Transaction mined but execution failed”. Is this a vulnerability because the miner has to be paid: [vm]from:0xca3…a733cto:Will.deceased() 0xbbf…732dbvalue:0 weidata:0x72f…af2d9logs:0hash:0xac5…6c5be status 0x0 Transaction mined but execution failed transaction hash 0xac5e9ba96b61041582a22490d2947cc4d7f0f153255fb0ac273d931035c6c5be from 0xca35b7d915458ef540ade6068dfe2f44e8fa733c to Will.deceased() 0xbbf289d846208c16edc8474705c748aff07732db gas 3000000 gas transaction cost 56697 gas execution cost 35425 gas hash…