Hello World
Starting up a mirror account to explore using this medium as a way to write down some thoughts. Generally interested in building on the web3 space. So far, I’ve helped to build a new community-based DEX with other contributors on AirSwap. You can also find me helping out the Zapper community. I’m also currently exploring the world of coding and generative art, and most likely going to be using this as a way to journal some tutorials and learnings from my experiments. Will also leave some of m...
Manual Unstaking from the deprecated AST Staking contract
I wrote this tutorial as a guide to those who are stuck on the deprecated AST contract.Manual UnstakingNavigate to the deprecated staking contract in etherscan (or the V2 contract) -> contract -> read contractCheck the AST balance in the contractUnder balanceOf, input your address and click query (querying the chain does not require gas) Check to ensure that the amount tallies with the amount of AST you have staked Note: The amount displayed is multiplied by 10,000 to account for the decimal ...

Nishikigoi
Some time back I started to learn some p5.js to create a generative art project which I had intended to publish on ArtBlocks. The premise was simple, a basic life simulator, not unlike Conway’s game of life, but focusing more on the animation of the animal itself. The lifeform I chose to emulate was a koi fish which would swim around in a pond. This article is meant to be a walk through the creation process.Starting outArtBlocks has some pretty useful code on their github docs. The code takes...
Hello World
Starting up a mirror account to explore using this medium as a way to write down some thoughts. Generally interested in building on the web3 space. So far, I’ve helped to build a new community-based DEX with other contributors on AirSwap. You can also find me helping out the Zapper community. I’m also currently exploring the world of coding and generative art, and most likely going to be using this as a way to journal some tutorials and learnings from my experiments. Will also leave some of m...
Manual Unstaking from the deprecated AST Staking contract
I wrote this tutorial as a guide to those who are stuck on the deprecated AST contract.Manual UnstakingNavigate to the deprecated staking contract in etherscan (or the V2 contract) -> contract -> read contractCheck the AST balance in the contractUnder balanceOf, input your address and click query (querying the chain does not require gas) Check to ensure that the amount tallies with the amount of AST you have staked Note: The amount displayed is multiplied by 10,000 to account for the decimal ...

Nishikigoi
Some time back I started to learn some p5.js to create a generative art project which I had intended to publish on ArtBlocks. The premise was simple, a basic life simulator, not unlike Conway’s game of life, but focusing more on the animation of the animal itself. The lifeform I chose to emulate was a koi fish which would swim around in a pond. This article is meant to be a walk through the creation process.Starting outArtBlocks has some pretty useful code on their github docs. The code takes...

Subscribe to agrimony

Subscribe to agrimony
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers

This idea just popped into my head, so I’m trying to get it all down before I forget. My web3 dev skills are sorely inadequate for building such a project, so I’m leaving this as an open call to any web3 developer who wants to take it up and attempt to build it before Christmas.
I will gladly be the first participant to join in.
zkSanta is a smart contract which opens 1 month before Christmas.
Anyone can deposit an NFT into the contract using depositPresent() until 25/12 @ 00:00 UTC.
After 25/12 00:00 UTC, all addresses which have deposited NFTs into the contract can call getPresent() which will transfer a random NFT from the contract into their wallet.
As per the traditional rules of Secret Santa, the random generator should not allow for the wallet to get back the same NFT which was deposited. Furthermore, the contract will need to hide the address from which this present originated (hence the zk bit).
I have no idea if this is even feasible, or if there are security exploits to watch out for.
I just want to play zkSanta.
Bonus points if you can make the contract automated every year. Also, if it could be deployed as a factory contract for communities to organize private zkSanta events.

This idea just popped into my head, so I’m trying to get it all down before I forget. My web3 dev skills are sorely inadequate for building such a project, so I’m leaving this as an open call to any web3 developer who wants to take it up and attempt to build it before Christmas.
I will gladly be the first participant to join in.
zkSanta is a smart contract which opens 1 month before Christmas.
Anyone can deposit an NFT into the contract using depositPresent() until 25/12 @ 00:00 UTC.
After 25/12 00:00 UTC, all addresses which have deposited NFTs into the contract can call getPresent() which will transfer a random NFT from the contract into their wallet.
As per the traditional rules of Secret Santa, the random generator should not allow for the wallet to get back the same NFT which was deposited. Furthermore, the contract will need to hide the address from which this present originated (hence the zk bit).
I have no idea if this is even feasible, or if there are security exploits to watch out for.
I just want to play zkSanta.
Bonus points if you can make the contract automated every year. Also, if it could be deployed as a factory contract for communities to organize private zkSanta events.
No activity yet