Profiles bridged to xDAI

Humans, I bridged POH profiles to xDAI.

POH on xDAI: https://blockscout.com/xdai/mainnet/address/0x4023395C3Bb30cb6288d4eD722369C2A510d377A
POH bridge on Mainnet: https://etherscan.io/address/0xf8a036e09ac88dfc9c131c755c3b8029c0a136f7

I initialized it with all current registered users taken from the POH subgraph: 7961. Keeping the xDAI registry updated should be cheap: 0.25-2 usd per new human depending on gas and ETH prices and on batch size (however, I’m not planning to keep it in sync myself).

My hope is that this contribution helps in the creation of affordable social media, among other projects. I also wonder if UBI dripping could be moved to xDAI, in order to make transactions affordable.

I chose xDAI over BSC, Polygon and the like because of its stable and widely used native currency (xDAI is bridged DAI which is pegged to USD) and because Kleros is there.

In a world where social media platforms are prone to censorship and biased moderation, like Twitter, FB or even Telegram groups, and where websites like OnlyFans seem hopeless in moderating adult content while dealing with regulation pressure, I think we should be ballsy and start experimenting more seriously with decentralized content moderation and trustless payments.

13 Likes

It would be awesome if someone audits the contracts.

2 Likes

This would be great maybe for the Yubiai marketplace, we would analyze with the team, great work spoon

2 Likes

This is absolutely great. What would it take to keep poh in sync between the 2 chains?

2 Likes

Every now and then, let’s say once per week, get a list of new registrations and removals and send all of those addresses to updateBatch(). After a few minutes, the tx should reach the xDAI sidechain. Once it does, call updateBatch() on the xDAI contract. The bigger the batch of profiles, the cheaper the cost per profile.

People who don’t want to wait for the weekly update and don’t mind paying for the tx can easily call updateProfile() in the Mainnet contract.

2 Likes

Thank you! Btw, love the name.

1 Like

@Spoon! Amazing!! We can create DAOs within Colony with this. This will explode. Thanks!

Is there a way already to bridge $UBI to xDAI?

1 Like

$UBI is not bridged yet, but I’m sure the xDAI team can make that happen if we ask them:
https://discord.gg/mPJ9zkq.

1 Like

Here is some doc about the process
https://docs.tokenbridge.net/eth-xdai-amb-bridge/multi-token-extension/ui-to-transfer-tokens/transfer-erc20

1 Like

@Spoon great job! I looked into the contracts and they look good to me. You can find my review here. Feel free to add comments. If you are thinking about redeploying with some of the suggestions, I recommend you to wait for more people to review the contracts.

3 Likes

UBI is now bridged as well. Here is the contract. For those that might be thinking about interacting with it from a smart contract, beware that the interface is slightly different. For instance, burnFrom() is not available (transferFrom() + burn() or transferFrom() to a dead address should probably be used instead).

4 Likes

Great Fede!
Gracias.

3 Likes