Ask coding questions

← Back to all posts
Any Python devs who have built blockchain projects using Vyper?
h
mattblank

Hey fam!

I'm a Python developer working on a blockchain project and would love to chat with someone who has coded in Vyper about how to implement my idea.

The concept is fantasy fitness competitions. Groups will send money to a pool, groupmates will compete over a specific exercise, and the winner will get all the money in the pool.

For example, I could create a group step challenge where we each send $1 to a pool each day, and the person with the most steps at the end of the day will get all the money in the pool.

Specifically, I'm curious:
1. Given that I want to treat this as a blockchain project, is Vyper the right tool for the job?
2. How do I minimize gas fees? Can I use Vyper to process everything at L2?
3. Do you know of any resources / tutorials that would help me build some of this functionality?

Cheers!
Matt

Answered by OldWizard209 [earned 5 cycles]
View Answer
Voters
mattblank
Comments
hotnewtop
OldWizard209

Hey.

As blockchain programming is a relatively new idea, you won't find extremely popular frameworks to use. But nonetheless, there are some really good ones. Vyper, imo, is one of the best ones out there, mainly because it is very secure and has Pythonic functionality, considering you are a Python-Dev.

But Vyper was made after Solidity, and has not yet replaced it. Haskell is also a good option.

DISCLAIMER

I am no guru in this topic so I won't give a solid opinion on what is best, but I do believe your approach is relatively fine.

Anyways here is an interesting article that will (I hope!!) help you:

https://medium.com/interdax/ethereum-l2-optimistic-and-zk-rollups-dffa58870c93

I tried my best to help you, because replit is not a very large community, and not many people will have an answer to this.

mattblank

@OldWizard209 this is incredibly helpful, thank you! I’m going to keep checking our Vyper, look into Haskell, and check out that post on ZK roll ups. I just listened to the Not Boring podcast on ZK proofs, super cool tech! I owe you big time!

OldWizard209

no issues mate. surprisingly, on my somewhat min-quest to answer your question, I seemed to get hooked up with the idea of blockchain program and bitcoin. And I am hoping to start discovering this side of the programming world. So in a way, this is my thanks to you lol. @mattblank

PS: Would you mind marking the answer as correct. Thanks!!!

mattblank

@OldWizard209 Ha trust me, the thanks is all to you! Let me know what you end up building!! And done!

ch1ck3n

Why not try to read the documentation
https://vyper.readthedocs.io/

it might help

mattblank

@ch1ck3n Appreciate it 😅 I've read the docs, just curious to hear from people who have already built applications to see if they think Vyper is the right tool for this app

ch1ck3n

@mattblank I've never used vyper before but i usually only use apis or external tools only if I absolutely need it

And you can probably make your own blockchain
https://replit.com/talk/learn/How-I-made-a-cryptocurrency-Eggcoin-and-how-you-can-part-1/140217

But again, you can use vyper if you absolutely want to or need it

mattblank

@ch1ck3n Interesting, really appreciate the link - thanks mate!