随意付(实现数字资产在商品交易的流通)

1.概述
目前,由于大部分的数字货币的价值上下浮动会比较大,
在电商收款中显然是不合适的,
那我们是否可以以浮动比较小的稳定币(如 usdt)来给部分商品标价
商家收到的是usdt,支付方可以支付如(BTC,ELA,ETH,USDT(ERC20)),
这种场景的需求 只要通过usdt和各种数字币的互换服务,就可以方便的实现,
最终实现商家收款可以接收任意币种,但到手都是usdt稳定币

2.实现步骤
1.收款方展示收款二维码和币种名称
2.扫码获取收款地址
3.选择收款币种
4.选择支付币种,动态显示所需支付数量,含所有手续费之后的一口价(不含支付转账的手续费)
5.调用钱包完成转账
6.查看转账状态

3.可行性分析
1.结合目前大象app小程序设计框架 可以很方便在ios android pc三端的实现
2.各种数字货币的互换服务现在也有比较成熟的方案

1 Like

Pay at will (to enable digital assets to circulate in commodity transactions)

  1. Overview

At present, since the value of most digital currencies fluctuates more,
It’s obviously inappropriate in the e-commerce collection,
So can we put a price on some items with floating smaller stable coins such as usdt?
Merchants receive usdt, which the payer can pay for as (BTC, ELA, ETH, USDT (ERC20),),
The need for this scenario can be easily realized through the exchange of usdt and various digital coins.
The final realization of merchant collection can receive any currency, but the hands are usdt stable currency.

  1. Implementation Steps.
  • Payee shows collection QR code and currency name.
  • Sweep code to get the collection address
  • Select the collection currency.
  • Choose the payment currency, dynamically display the required payment amount, including all fees after a price (excluding payment transfer fees).
  • Call wallet to complete the transfer
  • Check the status of the transfer.
  1. Feasibility Analysis.
  • Combined with the current elephant app program design framework can be very convenient at the ios android pc three ends.
  • Swap services for various digital currencies now also have more mature options.
2 Likes

Customer can pay to the seller via all kinds of coins. :slight_smile:

Hi guys, the 2nd Round of voting has started, please vote your favorite projects.

You will be to able recieve a red packet after you have voted, if you only recieve a very small amount of ELA, please don’t worry.
As the wallet with the smallest amount of ELA in a red packet will receive another bonus red packet, containing10ELA at the end of the voting.

Voting URL:
https://voteforme.elaphant.net/didVoteV2.html?hashStr=0e7e986d4d3d5569214f00139870d04fd79e9c2226b27e8ab02beb83a70d78b0

At the same time, you can add VoteForMe mini program to your elephant wallet via this URL
https://launch.elaphant.app/?appName=AddMiniApp&autoRedirect=True&appTitle=AddMiniApp&redirectURL=https://voteforme.elaphant.net/voteforme.capsule

The 2nd round voting result:

Congratulation you are the winner of the FundmyDapp competition , we will support your project with1500 ELA paid in three installments . But first please give us some information about you and your team.

  1. ELA address, for receiving the ELA.
  2. Your team members, name, Email, Github, role.
  3. The SNS account of your team members all. Includes Telegram, Twitter/Facebook/Wechat or others, if you have, we will only accept existing accounts, not new accounts.

Please supply this infomation as soon as possible.

After done this, please use your ALL SNS accounts to share a news about FundMyDApp for proving it is yours.

Thank you to all who supported this project. Here are the requested information:

  1. ELA Address: Ef116cfrfMLCSQF7SJWVQqa1h3XwQpkKuW

  2. Team

Name:freecode1111

Email: [freecode1111@163.com]

GitHub: [https://github.com/freecode1111]

Role: 全栈开发

1 Like

Thank you.
Looking forward your works

We have sent the first 500 ELA to you, please update your work weekly.
The next two reward payments will be December 22 on the third weekend and December 29 on the fifth weekend.
https://blockchain.elastos.org/tx/07a79b3094e096b80ec333bed4cf287ff1fecbd3dd2087c6d55cc9388d993bbe

工作计划如下:
1、整理熟悉需要用到的swft技术接口,设计简易的页面操作流程,需要大概1.5周时间
2、把设计的UI转换成html 并实现相关逻辑调试 需要大概1.5周时间
3、测试,修改体验细节 需要大概1周时间

(translated)
The work plan is as follows:
1, organize familiar with the need to use the swft technology interface, design simple page operation process, it takes about 1.5 weeks.
2, the design of the UI into html and implement the relevant logic debugging takes about 1.5 weeks.
3, test, modify the details of the experience takes about 1 week.

目前已整理完swf技术接口,已开始设计简易页面流程

(Translated)
At present, the SWF technology interface has been sorted out, and the simple page flow has begun to be designed.

Hi boy,
We have sent the 2nd 500 ELA to you.
https://blockchain.elastos.org/tx/13bbf29a671d05120ef9a751c77275578860af5ad45683ff8ded96ca3b406c3a

上面是相关的流程页面 目前相关逻辑已经写完,进入测试,修改细节的最后阶段,修改完成后就会把代码提交到 https://github.com/freecode1111

第三笔已经转账,这个可以整合进大象钱包。:wink:
https://blockchain.elastos.org/tx/5d6895ce4b6fa45b5bb0a247467cdcd32244f84f43356fa50bccad56e0446a48

1.代码已经提交到github: https://github.com/freecode1111/EasilyCollectMoney
2.正式服务的url: https://easycollect.elabank.net
3.已经在Trinity上面发布 红色标志的是:

1 Like

Thanks bro and Elabank.
We love this mini app too, we will help you build in elephant wallet.

1.小程序的名字 现在修改成了 Easy Trade Trinity上现在也已经更新

2.小程序在大象app的 capsule 已经制作完成:
capsule url : https://easycollect.elabank.net/EasyTrade.capsule

图片上红色标注的就是目前发布的小程序

1 Like

Easy Trade 使用手册

2020年2月6日,在Trinity的DApp Store 中,上线了一个小应用“Easy Trade”。该应用支持卖家收取的币种和买家支付的币种不一致,其价值的法币在当时却等值的情况。

其中,Trinity 的下载链接:https://download.elastos.org/app/trinity/trinity.apk,Trinity安装之后,在它的DApp Store的“Finance”类别可以找到小应用“Easy Trade”。

下面从卖家如何发起支付,以及买家如何付款两个方面来介绍。

  • 卖家发起付款
  • 买家支付

1 卖家发起付款

1.1 操作步骤

  • 打开“Easy Trade”,进入主页,卖家设置相关的收款信息:价值的法币、服务费、收款的币种(即“加密货币”),以及接收地址。目前在Trinity中,支持的收款币种是ELA。

1.2 Tips

  • Easy Trade 的官网链接:https://easycollect.elabank.net,同时支持大象钱包扫码登录,此时商家的收款方式除了ELA外,还增加了USDT(ERC20)、ETH、BTC三种方式,且接收地址不需要手动填写。
  • 商家如果要打折,在Easy Trade的主页,可以把服务费填写为负数。
  • 在Easy Trade的主页,输入接收地址后,可查看收款记录。
  • 当收款的币种和支付的币种一样时,可在钱包对应的币种交易记录中直接查询。

2 买家支付

2.1 操作步骤

2.1.1 买卖双方都在现场,且买家付款的币种和卖家要求的币种一致

  • 可直接用第三方钱包内对应的币种扫描卖家展示的收款地址,然后输入付款金额来完成付款;否则按照下面流程完成支付。

2.1.2 买卖双方异地 或者 买家付款的币种和卖家要求的币种不一致

  • 买家收到卖家发的付款URL链接,在手机端的浏览器中打开,如下图所示:

  • 如果买家直接用ELA支付,目前提供两种支付方式:通过大象钱包支付和通过Trinity支付。

    • 通过大象钱包支付。在支付页点击【去大象支付】,界面跳转至大象钱包支付:

  • 通过Trinity支付。在支付页点击【去Trinity支付】,界面跳转至Trinity内的钱包支付:

  • 买家支付币种如果和卖家要求的币种不一致,买家可选择支付币种。

    • 点击付款方式,弹出选择框,如选择USDT(ERC20)币种支付,当前界面买家要支付的金额会动态切换为等值的USDT(ERC20)币种的金额,买家需要填写自己的退款地址。(万一支付失败,会退币到你所输入的地址)

  • 退款地址填写完毕后,点击【获取充币地址】,会生成相应的待支付订单,点击订单号,可复制订单号。

  • USDT(ERC20)币种的支付,目前支持通过大象钱包支付。点击【去大象支付】,可调起大象钱包进行支付。

2.2 Tips

  • 买家也可在PC的浏览器上打开卖家分享的URL支付链接,通过大象钱包支付时,大象钱包扫描过渡页上的二维码即可。
  • 大象钱包支持ELA、USDT(ERC20)、ETH、BTC支付。
1 Like

Hi, Tyro Lee and CR Press each donated 100 ELA to you, we put this 200 ELA in a red packet, and you can click the link to get it.
Thank you for your work and hope we can see your progress again soon.

https://redpacket.elastos.org/packet/grab/3873029248206357