/ nandagopan . pfp

/ nandagopan .

@0xnandagopan

63 Following
175 Followers


Mo pfp
Mo
@meb
A guide on writing smart contract unit tests. Bottom line; Aim for 100% coverage of your methods. Test what changes, who can call methods, events that are emitted and any validations you have. There’s more, but this provides a great foundation and forces you to think through things in a structured way. 4 categories of smart contract unit tests 1. effects - what state changed in the smart contract - did any balances change for related wallets or contracts? 2. permissions - which roles can call method? - who cannot call a method? - is this method callable if the contract is paused? 3. events - what events should be emitted and do they have the expected values? 4. validations - if a given set of conditions are not fulfilled, does the contract revert with a specific error? Be sure to check for the specific error, not just a revert
1 reply
6 recasts
23 reactions

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
Adding to this is the fact that more than half the countries do not formally recognize crypto, let alone set up definite policies for the same. Imho, though this remains a blocker, it very much is a creative opportunity to bring clarity and sense into what exactly is possible with the value store that crypto is and the much bigger technology that blockchain is.
0 reply
0 recast
1 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
Powered by CairoVM, the Starknet L2 prioritizes provable compute over EVM compatibility. This approach does have its own advantages, but has also introduced differences in account structures, smart contracts, and ecosystem tooling, creating a gap with the broader Ethereum ecosystem. This has got many thinking: 'if only we had an EVM runtime on Starknet !?' enter Kakarot. A Cairofied implementation of EVM on Starknet. Ethereum is happening. Starknet is happening. Kakarot is taking things up a notch - the best of both worlds. Read more to find out. https://paragraph.xyz/@prose/kakarot-starknet @eliastaz @starknet
0 reply
1 recast
0 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
https://warpcast.com/0xnandagopan/0x8a4ded06
0 reply
0 recast
0 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
Powered by CairoVM, the Starknet L2 prioritizes provable compute over EVM compatibility. This approach does have its own advantages, but has also introduced differences in account structures, smart contracts, and ecosystem tooling, creating a gap with the broader Ethereum ecosystem. This has got many thinking: 'if only we had an EVM runtime on Starknet !?' enter Kakarot. A Cairofied implementation of EVM on Starknet. Ethereum is happening. Starknet is happening. Kakarot is taking things up a notch - the best of both worlds. Read more to find out. https://paragraph.xyz/@prose/kakarot-starknet @eliastaz @starknet
0 reply
1 recast
0 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
animate much, maybe.
0 reply
0 recast
1 reaction

Polygon pfp
Polygon
@0xpolygon
no more walled gardens.
0 reply
1 recast
3 reactions

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
1/4, but now tht @phantomwallet has got @base covered, thinking of going back.
0 reply
0 recast
0 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
digging that hacker theme 👌
0 reply
0 recast
0 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
tigers any day!
0 reply
0 recast
0 reaction

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
💜
0 reply
0 recast
4 reactions

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
💜
0 reply
0 recast
2 reactions

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
It's officially POL day! The next significant step en route Polygon2.0 n' I recommend we read up on the MATIC successor, that'll power the 'Value layer of the Internet'. 💜 @0xpolygon https://paragraph.xyz/@prose/polygon-pol
0 reply
0 recast
2 reactions

/ nandagopan . pfp
/ nandagopan .
@0xnandagopan
have been long seeing ✨ with many things AI. As for mint, somehow 🌱is coming to my mind.
0 reply
0 recast
0 reaction