Community Effort to Launch ERC20 MAID

Could be a better native solution (soon to have cross chain ERC20 support).

Guess I need to move MAID from old addresses to SegWit addresses ready to take advantage of this :nerd_face:

look at current bitcoin transaction fee… nah maybe ill wait

7 Likes

This is awesome! I will further look into this, thank you for noticing this.

4 Likes

Anyone use this? think they would support OMNI?

1 Like

This could be useful

It’s not going to help with the swap because the swap requires native BTC to pay for transaction fees.
The OmniBOLT with HTLC seems to be a nice option. I think we will roll out this swap in stages and the awesome thing is that the smart contract for MAID (Maid erc20 - MAIDe) will be transferable to MaidSafe if they wish to manage it in the future.

The ERC20 smart contract will use the Gas Station Network (GSN) to make it very user-friendly as they are not required to own any ETH to pay for fees. The relayers who pay for the transactions will receive a % of MAID as commission when users swap from Maid Omni to Maid erc20.
I’m still looking into the BTC ‘relayers’ who will also help with paying for swapping from Erc20 to Omni as people withdraw the locked tokens out of the swap to their personal wallet address.

One way could be using the OmniBOLT and keep track of the channel funders. The token smart contract will be out soon as I’m working to round off that logic and do testing.

10 Likes

I was thinking the keep network solution would be useful in storing the underlying MAID asset?
Thats the main problem I have with the community effort over a MaidSafe solution.

The MAID.OMNI backing the MAID.ERC20 is at huge risk of being hacked (some code/ some one) controls it. I would much prefer the swap to be one way. MAID.OMNI ends up in a burn address, and MaidSafe are happy to honour the ERC20 token in its place.

Its makes ERC20 swap safer, and you only have to focus on a one way atomic swap. The minting of ERC20 MAID is then another point of failure.

Yes if MaidSafe were to burn all the MAID.omni that is sent to their address and issue MAID.erc20 it would make things easier. However, MAID.omni cross-chain atomic swap is also laying a foundation of how we could swap between Safe Network Tokens and an ERC20 wrapped token. This would hugely speed up adoption because exchanges can easily trade erc20 tokens but integrating a safe network wallet is a lot harder and often slow.

For now, it’s at your own risk and I’m aiming to roll out a fully decentralized atomic swap as soon as I can. I’ve looked into REN but not so sure if that will be the one to go with. Having a simple swap setup and the ERC20 contract live and ready is the main thing being pursued at the moment.

The contract will be written with the Enterprise standard, OpenZeppelin smart contracts. These are proven to be secure, reliable, and safe. Coinbase, Augur, and many other big projects use these.
It also has to be future-ready so that ownership can be transferred and revoked as stated before when MaidSafe themselves is ready to take over the custodian role or hopefully turn it into a fully decentralized swap with a Hashed Timelock Contract.

6 Likes

Smart contract getting tested on ropsten test-network. Seems to be working as expected and is using the already thoroughly enterprise standard OpenZeppelin contracts.

You can see the contract (verified - bytecode same as compiled one), ‘Read Contract’ and ‘Write Contract’ here:

27 Likes

Thank you for the test MAIDe! The feeling of the future!

10 Likes

This is fantastic!! A real game changer. Great work, @DeusNexus :smile::tada:

15 Likes

I’m currently traveling a bit but expect a decent first launch in the end of december - january :wink:

14 Likes

What is this, a timeline? We don’t do timelines here :laughing:

4 Likes

If you prefer “closer to being close AND close to being closer”, “around the corner right behind the corner”, keep jinxing it. You may get “perpetual travel cause the world is round”.

I still feel DeusNexus and his effort put in this are underappreciated. This may open us to plenty of good minds.

7 Likes

It was only a joke, of course we all appreciate @DeusNexus’ work.
Can’t wait to use his tool and send him some coins as a tip!

8 Likes

A post was split to a new topic: [How To] get a completely anonymous MAID

We are almost in 2021 and the past few months have been amazing as far as productivity and major updates. To give you guys a present for the new year I will give an update on what has been done so far!

Short Description of what the MaidSwap is about:
The swap will facilitate the exchange between MAID.omni tokens and MAID.erc20 tokens. The omni protocol lives on the BTC-network and uses the omni-protocol to store MAID.omni on the BTC-chain.

While the BTC-network is very secure there are some major downsides:

  • Transactions on the chain are slow compared to other chains and often more expensive
  • The Omni-protocol is not well supported in many wallets, some allow you to store MAID.omni but it’s not very common
  • MAID.omni is currently only available on 2 centralized exchanges (Bittrex and Hitbtc) as far as I know
  • MAID.omni is hard to be obtained for e.g. US-citizens due to legal regulations

Here is why the new MAID.erc20 will improve all of these aspects:

  • Easy listing on DEX’s and significantly lower listing costs
  • Easy storing in MetaMask and other ETH wallets
  • Low transaction costs & fast transfers
  • Anyone can buy or sell it as long as they have access to some ETH and a decentralized exchange.
  • MAID.omni and MAID.erc20 can be swapped at any moment and are backed 1:1
  • All data is publicly available for the smart contract and how much MAID.omni is locked at any given moment. The smart contract is verified and publicly readable by anyone who wishes to confirm it’s integrity which has been build on the OpenZeppelin enterprise standard erc20-contracts.
  • MAID.erc20 is future-proof, build to be secure and transferable.

What has been established so far?

  1. A domain has been obtained: maidswap.io
  2. reCaptcha has been added against spam attacks
  3. The domain is secure over SSL and protected by CloudFlare.com
  4. 2-Factor Authentication has been successfully added
  5. JWT-token authentication is being added for persistent sessions, any action of withdrawal or changing settings requires to give 2FA to confirm.

Basically, the MaidSwap and the contract look like they can go live in Q1 2020 and it’s expected to have a beta launch end of the first week of January.

Stay SAFE and a great and happy new year!

48 Likes

Awesome work! :pray:t3:

17 Likes

Good job! I guess all that’s needed now is a blessing from Maidsafe.

What about FIDO2 U2F?

4 Likes

You also need the private keys of the smart contract, which holds the OMNI MAID, so the public code itself only protects against a hack, but not a rug pool.

The option we discussed with @DeusNexus is to use multi-signing, ie. after things are tested with the first version, the community may pay for an audit of the code and then submit it to MaidSafe…

9 Likes

This is fantastic!! Thanks, @DeusNexus :smile:

Making the code public along with a code audit will help to alleviate a lot of concerns people may have. In terms of multisig, who/will MaidSafe hold keys? Which third party will conduct the audit? The auditor should be a reputable and recognized party. Here’s a list of some of the top auditors: Top 10 Blockchain Security and Smart Contract Audit Companies

6 Likes