DimensionDev / Maskbook

The portal to the new, open Internet. ([I:b])
https://mask.io
GNU Affero General Public License v3.0
1.51k stars 310 forks source link

[Bounty] Solana and Serum in Maskbook #1722

Closed yisiliu closed 2 years ago

yisiliu commented 3 years ago

Introduction and Background

Maskbook is designed and developed as a chain agnostic tool, which relies on no chains and in another word, supports all the chains. Currently, Maskbook is focusing on DAPPs on Ethereum but we would like to integrate more chains into our extension to provide users more options. Therefore, we are redesigning our internal wallet into a multi-chain wallet and by the time the new design is finalized, we would like to start integrating new blockchains other than Ethereum.

Content

Solana Wallet

Solana is a scalable and high performance blockchain. We would like to integrate their wallet creation, management and support relevant on-chain operations. Wallet integration is considered as the phase two of this bounty and we are expecting this to start once we release our wallet standard.

Serum UI Integration

Serum is a decentralized on-chain trading platform which supports both orderbook and swap. We would like to integrate its interface in our trader plugin. It allows users to hover their mouse on any token hashtag starting with "$" on Twitter to view its price, trending and a uniswap exchange interface if there is a pair. Integrating Serum, we can support more options other than uniswap so that users could directly trade tokens with Solana without leaving Twitter. This is considered the phase two.

Deadlines

TBD.

aahutsal commented 3 years ago

Thanks, @Septs Nice to remmember

yisiliu commented 3 years ago

@aahutsal ssh -i <you_key> aahutsal@13.250.18.1 and your default password is sha256("aahutsal") all in lowercase. A good tool you will find online is: https://emn178.github.io/online-tools/sha256.html. You are also granted sudo access.

aahutsal commented 3 years ago

@yisiliu thanks. It works it seems. Can't change the password for some reason.

$ echo aahutsal | sha256sum
5100b388efefb1726475166772af982ffc0983bb2700bce8ba09ff4833281cb8  -

but 5100b388efefb1726475166772af982ffc0983bb2700bce8ba09ff4833281cb8 as a password does not work for me.

yisiliu commented 3 years ago

@aahutsal I would use: echo -n "aahutsal" | openssl dgst -sha256 You have to use -n to avoid the newline character in the end

aahutsal commented 3 years ago

@yisiliu thank you ;) Silly me - slept for 2 hrs only 👍

aahutsal commented 3 years ago

I've hit problems running Solana build in dev mode (with rust installed). Created issue in solana-web3.js/#1008

aahutsal commented 3 years ago

You can put the box down for now, if it's costly

aahutsal commented 3 years ago

@yisiliu can you please attach one more SSD device for 80Gb at the least? There's no room on / partition it seems even to build Solana. I've already avoided solana-web3.js/#1008 bug reported to them before.

yisiliu commented 3 years ago

@aahutsal sorry about the late - I have extended the disk space to 160GB. Check it now.

aahutsal commented 3 years ago

Thanks. That's enough!

aahutsal commented 3 years ago

@yisiliu @Tedko could someone open me 3376, 2377 ipv4/ipv6 TCP ports on AWS firewall? Needed for docker swarm and docker-machine. For security reasons it's better to run openvpn to access that box, but... would you bother with it? If so - open 1194 port (UDP) and lemme know. I'll setup openvpn server and share the .opvn file with you.

yisiliu commented 3 years ago

@aahutsal fair enough - expect it to be done in 5 mins

aahutsal commented 3 years ago

thx @yisiliu For now I'm using SSH tunneling ;)

yisiliu commented 3 years ago
Custom TCP | TCP | 3376 | 0.0.0.0/0
Custom TCP | TCP | 2377 | 0.0.0.0/0

@aahutsal done

aahutsal commented 3 years ago

already saw it and successfully joined the swarm, thx

aahutsal commented 3 years ago

@yisiliu trader plugin link is broken in Serum task description. Screenshot 2021-01-04 at 1 54 54 PM Although it's phase II, could you please point me there?

yisiliu commented 3 years ago

@aahutsal https://github.com/DimensionDev/Maskbook/tree/master/packages/maskbook/src/plugins/Trader

aahutsal commented 3 years ago

@yisiliu @Tedko @septs Please, also open 8899, 8900 ports for direct solana-validator access and 1194 UDP port for OpenVPN

Would also need that:

[default]
aws_access_key_id = MY-ACCESS-KEY-ID
aws_secret_access_key = MY-SECRET-KEY
gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 5000.0 USDC (5000.00 USD @ $1.0/USDC) has been submitted by:


aahutsal commented 3 years ago

@yisiliu could you confirm ports will be opened and could you share AWS access key with me, so I can easily manage AWS node dedicated for that project (you can create an AWS access key with restricted access for that purpose).

Also, check your email. Ason seems keeping quiet.

aahutsal commented 3 years ago

@yisiliu could you please answer me via email or here?

aahutsal commented 3 years ago

@yisiliu could you check the email I sent?

Tedko commented 3 years ago

hey guys @aahutsal @yisiliu any updates?

aahutsal commented 3 years ago

@Tedko should I speak to you directly now, or keep working with @yisiliu ?

aahutsal commented 3 years ago

@Tedko could you please reply my email I sent like 2+ weeks ago?

Tedko commented 3 years ago

will loop in @tzhan28 in case we're not responding here @aahutsal :)

aahutsal commented 3 years ago

@yisiliu @Tedko Meeting is over, seems I've shown everything we have by now. Now I need to contact of the guy who is working on UI for v2.0

aahutsal commented 3 years ago

@guanbinrui Could we please talk on Discord about UI additions for v2.0? I've already sent you DM