# Galaxy Shop

## Chinese Original Thinking made by Yingshaoxo

电商指南：

1. 采用邀请制，系统能追溯每位用户的上级
2. 一个人诚信有问题，那条线的产品全部下架。商品信息保留，但商家得找个新的邀请人。
3. 在每个商家的页面放上一个举报按钮。某用户一旦举报商家，该用户和他10个上级的账号一起被封禁，没有道理可讲（如有问题，可以给商家打低分，这种评分是受欢迎的

\#no #censorship #shop #dev #business

> 另一种极端的邀请制是：付费会员制，10级会员，最高级1000万入会费，最低级1元入会费，入会费不退回。每级看到的东西都不同。10级可以买<=10级的商品。1级只能买1级的商品。5级可以买<=5级的商品。级别不够，不光买不到，也看不到、搜不到。

## English translation made by Yingshaoxo

You can create a VIP system.

This system has 10 levels.

For each level, you have to pay different amount of money to get it.

Let's say, for level 10, you are going to pay 10000000 dollars to get it. For level 1, you are going to pay 1 dollar to get it.

Users at different levels can see and buy different stuffs.

Level 10 can see and buy <= 10 level other user's product.

Level 1 can only see and buy <= 1 level other user's product, but can't see and buy higher than level 1 user's product.

> And since the system use invitation mechanism, it can see who invited a user. So if the admin think one user has problem, the admin can simply ban or delete that user and the one who invited him/her.

## Let's get started

For this online shop.&#x20;

It can be sperate into two part: style\_shop(white\_shop), fuck\_style\_shop(dark\_shop).&#x20;

For the style\_shop, it can be served on public website that everyone can visit.&#x20;

For the fuck\_style\_shop, it can be served on Tor network.&#x20;

They all share same code base, same UI template, but belong to different company.&#x20;

Here is the story line:

1. style\_shop got launched, a lot of people started to use it to buy things.
2. some company started to report that their products got steal and sell on style\_shop, they wanted the platform to do something to stop the stealling!!!
3. style\_shop has no way but remove those 'bad sellers'
4. fuck\_style\_shop use a different company name, calm that they fucking hate the style\_shop. So they decided to launch a new shop in dark network to protect people's freedom to sell whatever they want. And they do not censorship anything.
5. people start to realize that fuck\_style\_shop uses the same UI, logic to handle data just as style\_shop, and it sometimes even behave better.
6. fuck\_style\_shop often got banned, but it always up again with all user's data good served.

> For the fuck\_style\_shop, whoever clicks the 'report button', him/she and his/her 3 parent\_users will get deleted immediately after users reaches 1000.

### Dev strategy&#x20;

Any user has to get invited to register their account.

At the beginning, we only allow <= 5 dollors trading, so that we could make sure the system is stable and fair enough to handle the trading data.&#x20;

Then, if user number increase, we increase the trading money limit.&#x20;

Let's say 10000 peple unlock 5 dollar limit. 100000 people unlock 50 dollar limit. And so on.&#x20;

### Needs&#x20;

#### Invitation machinism

For each user, it got 2 invitation chance to add new members in.

And for a user, it has following data structure:

```protobuf
message A_User {
    int64 create_time_in_10_numbers_timestamp_format = 1;
    int64 id = 2;
    string email = 3;
    string password = 4;
    string parent_email = 5;
    int64 invitation_level = 6;
    repeated string children_email_list = 7;
    int64 invitation_counting = 8;
    repeated string invitation_code_list = 9;
    int64 last_login_time_in_10_numbers_timestamp_format = 10;
    string jwt = 11;
}
```

#### VIP machinism

We have 10 level VIP machinism.

0 level correspond to those users that didn't login.

1 level need 1 currency to buy it, normally it is done when user do the registration.

2 level need 10 currency to buy it. And we open this VIP buying when user number reach 1000.

3 level need 100 currency to buy it. And we open this VIP buying when user number reach 10000.

4 level need 1000 currency to buy it. And we open this VIP buying when user number reach 100000.

5 level need 10000 currency to buy it. And we open this VIP buying when user number reach 1000000.

6 level need 100000 currency to buy it. And we open this VIP buying when user number reach 10000000.

7 level need 1000000 currency to buy it. And we open this VIP buying when user number reach 100000000.

8 level need 10000000 currency to buy it. And we open this VIP buying when user number reach 1000000000.

9 level need 100000000 currency to buy it. And we open this VIP buying when yingshaoxo think it is OK to open.

To reach this goal, we modify the user data structure to:

```protobuf
message A_User {
    int64 create_time_in_10_numbers_timestamp_format = 1;
    int64 id = 2;
    string email = 3;
    string password = 4;
    int64 vip_level = 5;
    string parent_email = 6;
    int64 invitation_level = 7;
    repeated string children_email_list = 8;
    int64 invitation_counting = 9;
    repeated string invitation_code_list = 10;
    int64 last_login_time_in_10_numbers_timestamp_format = 11;
    string jwt = 12;
}
```

#### Search rule&#x20;

For all language, we see if the search\_string is a substring of a product or not, if it is, that product will be on top.&#x20;

For english and chinese, we seperate search\_string into words, the more words is substring of a product, the more likely that product will be on top.&#x20;

For chinese, we seperate search\_string into characters, the more chracters matchs a product, the more likely the product will be in top.

> Product description is included as title when doing the search. It has size of 255 characters.&#x20;

#### What if: it's an application store

If it is an application store, It has to support:

* Linux: appimage, or directly executable file
* Android: apk file
* Windows: Directly executable file
* Mac: Installable file

> All those software should get distributed by torrent or magnet network.

## Edge case

1. For each seller, they can only put 100 products under their shop.
2. We'll always show old\_adding\_date or old\_editing\_date products at the beginning, because if old version is working, you can still use it. If you want to buy a new type of that product, just do a search with 'new version of xxx'.

## Report System

We hope we can be a platform that do not censorship anything.

But if we have to compromise for living (last choice), then, we could do this:

1. If anyone's product get 'reported as harmful one', we hide that product for one month.
2. After one month, we'll recover that product automatically.

Why we do this?

If someone care, then there would always have people to do report (false or true).

If nobody care, there would have no report.

## Online shop products quality improvement method

1. Seller send platform 1 product fee per month. (Or per 100 deals)
2. Platform use that money to buy that seller's product with a fake user account in a random time.
3. Platform check if that product is ok or not, the seller is doing false description for their product or not.
4. If seller product has problem, disable their account with clear reasons. If not, send that product to platform second\_hand sub\_platform for selling.

```
网店产品品质提升方法：

1. 卖家每月向平台发送1次产品费用。(或者每100笔交易发送一次)
2. 平台随机使用该资金通过虚假用户帐户购买该卖家的产品。
3. 平台检查该产品是否合格，卖家是否对其产品进行虚假描述。
4. 如果卖家产品有问题，请在明确原因的情况下禁用其帐户。 如果没有，则将该产品发送到平台二手子市场进行销售。

#online #shop #strategy #yingshaoxo
```
