Hello world! Welcome to the first edition of the Web3 Python Weekly. Each week we’ll bring you one tweet, video, github repo, and exercise to keep you up to date on all things happening in Web3.py. Thanks for joining us for the inaugural edition!
print("let's rock n roll")
The State of Python Development
Web3.py, or #Ethereum #Python ecosystem, is the only ecosystem where the developer activity is growing under the current bear market
Build Python on NEAR Protocol
Curve Lending AMM: Test Price Continuity Function
def test_price_continuity():
amm = LendingAMM(p_base=1000, A=100)
for i in range(-100, 100):
amm.bands_x[i] = 10000 * random() + 1.0
amm.bands_y[i] = 0.0
amm.bands_x[i+1] = 0.0
amm.bands_y[i+1] = 10 * random() + 0.001
amm.active_band = i
p1 = amm.get_p()
amm.active_band = i+1
p2 = amm.get_p()
assert abs(p1 - p2) < 1e-8
assert abs(p1 - amm.p_up(i)) < 1e-8
assert abs(p2 - amm.p_down(i+1)) < 1e-8
Curve Lending AMM model to test price continuity
Create and Mint an NFT using Python
gm pythonistas!
We've got a holiday #Web3 challenge for you, and it doesn't matter of you're naughty or nice. ⭐️
It's Showtime! Create and Mint a Festive #NFT w/ Ape. If you're interested in learning blockchain development, come on this token slay ride with your fav Apes! 🦧
That's it for today & see ya next time! If you liked this issue, be sure to share!