Audit, improve and port fundamental Avalanche tools to OpenBSD/adJ Round #1

Proposal Title: [Quadratic Funding Round #1] Audit, improve and port fundamental Avalanche tools to OpenBSD/adJ

Application Questions:

Please provide an overview of the project:

Developing dApps and running a validator node in the secure operating system OpenBSD (and its distribution adJ) requires at least the tools avalanchego, subnet-evm, coreth, avalanche-network-runner, precompile-evm and avalanche-cli. This projects proposes to audit the sources of these tools, test them to discover problems, improve them with Pull Requests to solve the problems found and port them to OpenBSD/adJ (everything open source).

The recent vulnerability in xz that affects several linux distribution and that was far to affect OpenBSD/adJ reminds us the importance of auditing the sources and how good base is OpenBSD/adJ for applications where security has very high priority. For this proposal we will adopt their auditing methodology.

This project will benefit:

  1. Users of the tools that will be audited and that will receive pull requests improving at least their portability and possibly their security.
  2. Developers interested in the mentioned tools because we plan to write summaries of the auditories and of the porting process.
  3. People who decides to develop dApps or to run an Avalanche validator on OpenBSD/adJ

Please explain how your project meets the round eligibility criteria:

General Guidelines and Requirements:

Criteria How this proposal matches
Verified Github vtamara
Twitter account VladimirTamara
A single grant can only qualify for matching from one pool if multiple Foundation rounds are running at the same time. I’m applyign only to this round
Project Update - If you are a returning grantee, you must provide an update on what work has been accomplished since the last grant round from which your project received funding. Totally new project
Additionally, the following are not permitted in Avalanche Community Rounds: Hateful Content. Deceiving Users. Falsification. Fraud & Impersonation. Quid Pro Quo & Bribery. Advertising. Well-capitalized projects. Grantees cannot be subject to sanctions, and funding cannot be used in violation of any applicable law, rules, or regulations. (for example, those addressing sanctions, financing of terrorism, and anti-money-laundering). Grantees can be eliminated from consideration in the round if they are found to be encouraging or enabling Sybil attacks or other forms of malicious manipulation of the grants platform or the Avalanche and Gitcoin communities. Understood and fullfilled.

How does your project benefit the Avalanche Ecosystem? Please mention any existing or upcoming partnerships:

This project advances directly the infrastructure of Avalanche.

History of contributing to the Avalanche Ecosystem:

(Sorry for not using links, but the forum didn´t allow more than two links)

Repository PRs or contribution Notes
supranational/blst Issue 206 I reported the a crash produced with avalanche on OpenBSD and helped the author to improve blst by testing and giving feedback. Withouth the fix in most cpus (except Ryzen 5) blst produced segmentation faults in OpenBSD/adJ. Fixed by the author of blst
ava-labs/avalanchego PR 2809 pending Adds storage support fo OpenBSD/adJ
ava-labs/coreth PR 510 merged Improves portability
ava-labs/avalanche-network-runner PR 707 merged Improves portability
ava-labs/subnet-evm PR 1119 merged Improves portability
ava-labs/avalanche-cli PR 1539 merged Improves portability

How old is the project?

I would say 4 months. Because back then I started the courses of Avalanche Academy --already completed-- and since then the effort to do the exercises and to run the avalanche tools on OpenBSD/adJ.

The porting effort is advancing (avalanche-cli has been specially hard and definitely requires studying more the sources) and we have not done a systematic auditory process as we plan to do with this proposal.

Please outline any prior funding sources:

  • Total prior funding in USD: 0
  • Grants: 0
  • VC: 0
  • Token Launch: 0
  • Sales: 0

Please provide a link to your public group chat (Discord or Telegram) if applicable:

Is there anything else you’d like to share about your project, previous work, or other affiliations?

  • I’m developer of the distribution adJ of OpenBSD used by NGOs in Colombia (check the wikipedia page of adJ --in english wikipedia).
  • TON Award Recipient. For porting tools of the TON blockchain to OpenBSD/adJ

Telegram Handle (you can answer N/A):

@vladimirtamara

Profiles or socials of other main team members publicly associated with the project:

Email Address(es):

vtamara@pasosdeJesus.org

Payout Wallet Address (Payment on Avalanche C-Chain):

0x8BFA46F6c184550e499304809f9133F907a0471f