Up to $300k grants for Python SDK for NEAR Protocol #16427
Replies: 3 comments
-
Let me state it explicitly: I am hiring, and I believe MicroPython contributors are the best candidates and I expect the first two milestones to be 80% micropython-related, so it is an opportunity to be funded for contributions to micropython. |
Beta Was this translation helpful? Give feedback.
-
Interesting prospect to run MicroPython on a blockchain, via WebAssembly. Hope you find someone that can help out! |
Beta Was this translation helpful? Give feedback.
-
I have updated the grants to be $300k in total and also created a similar announcement for RustPython and Nuitka, so if you prefer to take an alternative Python implementation approach, feel free to do so: |
Beta Was this translation helpful? Give feedback.
-
Hi MicroPython community, I am a software engineer who is currently leading DevTools ecosystem in NEAR Protocol.
NEAR Protocol is a nextgen blockchain, that is resource-efficient, horizontally scalable, and uses Wasm as the runtime. There are already Rust, JavaScript, and AssemblyScript SDKs to build apps. NEAR Protocol provides a few dozen host functions (Storage API, data input/output API, native cryptography API, etc), and has a limit of 1.5MB for Wasm file.
We have played a bit with MircoPython (and RustPython, but that did not fit the size requirement). We succeeded with building a Wasm file, but it failed to be pre-compiled with the Wasm runtime in nearcore due to some unsupported Wasm features or functions that are not provided by NEAR host runtime, so you can take from there (or start from scratch if you know what you are doing).
The current error message we get from wasmer (Wasm runtime used in nearcore)
Milestone 1
I offer $50k grant for the initial stage - get the following Python code to be compiled to Wasm and executed by Wasm runtime in nearcore without errors.
Useful references:
Milestone 2
I offer $50k grant to develop CLI tooling to streamline the build process that will allow multiple source files and PiPy dependencies (probably with the limitation that only Python-only dependencies will be suitable) to be packaged into a Wasm file that will work on NEAR (we still need to comply with 1.5MB filesize limit).
Take inspiration from
cargo-near
, which is CLI tool for building Rust apps for NEAR.Consider using
uv
tooling.Beyond
I offer up to $200k in grants for near-sdk-py development and improvements that will bring Python SDK on par with Rust SDK, providing data collections API over basic key-value Storage API, etc.
If you are interested to take the challenge on, please, comment here or reach out to me in DM NEAR's Zulip @frol or Telegram.
cc @jimmo @dlech @vshymanskyy I have searched the repo, and I believe you might have some insights and recommendations here, or even may find it interesting to work on.
Beta Was this translation helpful? Give feedback.
All reactions