Forwarded from Remedy
⚡ Calling all Web3 Security firms ⚡
Let us join forces and together fortify our blockchain ecosystems!
We're excited to offer Glider Ethereum mainnet access to all our Web3 cybersecurity comrades. Time to level up our defense game!
Start finding bugs at scale now👉🏼 https://exty84bdiei.typeform.com/gliderpartners
Let us join forces and together fortify our blockchain ecosystems!
We're excited to offer Glider Ethereum mainnet access to all our Web3 cybersecurity comrades. Time to level up our defense game!
Start finding bugs at scale now👉🏼 https://exty84bdiei.typeform.com/gliderpartners
Typeform
Mainnet | orgs
Turn data collection into an experience with Typeform. Create beautiful online forms, surveys, quizzes, and so much more. Try it for FREE.
🔥2
🪄 How to become a web3 Auditor - by HackenProof
🔗 https://forum.hackthebox.com/t/how-to-become-a-web3-auditor/275194
🔗 https://forum.hackthebox.com/t/how-to-become-a-web3-auditor/275194
X (formerly Twitter)
HackenProof (@HackenProof) on X
Expert web3 bug bounty and crowdsourced audit platform with 220 programs and over 20 million in bounty
DS: https://t.co/yl9Srpuzbb
DS: https://t.co/yl9Srpuzbb
🙏2🔥1
KS note
💎 Ethereum API Documentation 🔗 https://ethereum.github.io/execution-apis/api-documentation/ 🔗 https://github.com/ethereum/execution-apis 🔗 https://ethereum.org/en/developers/docs/apis/json-rpc/
const axios = require('axios');
async function MakeCall(_method, _jsonRPCUrl) {
try {
const response = await axios.post(_jsonRPCUrl, {
jsonrpc: '2.0',
method: _method,
params: [],
id: 1,
});
console.log(`[Result] ${response.data.result}`);
} catch (error) {
console.error(`[Error] ${error.message}`);
}
}
MakeCall("eth_blockNumber", "http://localhost:8545");❤4👌1
🤓 Do not memorize commands. Understand them
💻 foundry — [cast call] VS [cast send]
1️⃣ cast call
・ to call a view/pure function ( non state changing function )
・ required arguments :
・ RPC URL
・ Contract Address
・ Function Name
2️⃣ cast send
・ to call a non view/pure function ( a state changing function )
・ required arguments :
・ RPC URL
・ Contract Address
・ Function Name
・ Private Key
👀 where is RPC URL ?
・ default value for RPC URL is
👀 why your Private key is plain text ?
・ it belongs to anvil. so, not important
🔗https://book.getfoundry.sh/cast/
💻 foundry — [cast call] VS [cast send]
1️⃣ cast call
・ to call a view/pure function ( non state changing function )
・ required arguments :
・ RPC URL
・ Contract Address
・ Function Name
2️⃣ cast send
・ to call a non view/pure function ( a state changing function )
・ required arguments :
・ RPC URL
・ Contract Address
・ Function Name
・ Private Key
👀 where is RPC URL ?
・ default value for RPC URL is
http://127.0.0.1:8545 —> Anvil👀 why your Private key is plain text ?
・ it belongs to anvil. so, not important
🔗https://book.getfoundry.sh/cast/
👌5⚡1
⚡5
🥷 The EEA - Latest editor's draft
🔗 https://entethalliance.github.io/eta-registry/security-levels-spec.html
🔗 https://entethalliance.github.io/eta-registry/security-levels-spec.html
⚡3
💻 How to calculate the Address of Contract using
when a contract is going to be deployed, the address of contract will be generated using 2 argument :
・ 1️⃣ address of deployer's wallet
・ 2️⃣ value of nonce variable
so, you can calculate the address of a contract which is going to be deployed and in other side, you can calculate & find when you can deploy a contract whose address is XXX.
🔗 docs of ethers.js
🔗 github repo of ethers.js
WalletAddress and WalletNonce using ethers.jswhen a contract is going to be deployed, the address of contract will be generated using 2 argument :
・ 1️⃣ address of deployer's wallet
・ 2️⃣ value of nonce variable
so, you can calculate the address of a contract which is going to be deployed and in other side, you can calculate & find when you can deploy a contract whose address is XXX.
🔗 docs of ethers.js
🔗 github repo of ethers.js
🔥6❤2🍾1