KS note
512 subscribers
61 photos
2 files
72 links
・ Web3 & etc.

πŸ₯·β›“οΈπŸ· @MostPow3rful
Download Telegram
🐧 Learn Linux

πŸ”— https://linuxjourney.com/
πŸ₯· You learn more by doing
⚑1
πŸͺ² Contest/Bug Bounty Platforms

0️⃣ C4
1️⃣ Sherlock
2️⃣ codehawks
3️⃣ Cantina
4️⃣ findaudit
5️⃣ Immunefi
6️⃣ Remedy
7️⃣ Hats
8️⃣ Hackenproof
9️⃣ Securr
πŸ”Ÿ Secure3
πŸ†1
πŸŒ™ Don't lose hope

πŸ”— https://x.com/ArnieSec/status/1705341944774246576
🍾2
KS note
πŸ₯· You learn more by doing
πŸ‘Ύ CTF/Challenge(s)

1️⃣ HTB
2️⃣ damnvulnerabledefi
3️⃣ ethernaut
4️⃣ onlypwner
5️⃣ Web3PWN
πŸ”₯1
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
πŸ”₯2
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", "https://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 https://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