Skip to content

Instantly share code, notes, and snippets.

@ptrinh
Last active September 3, 2015 14:30
Show Gist options
  • Save ptrinh/008dd49ebf966c4c3fb3 to your computer and use it in GitHub Desktop.
Save ptrinh/008dd49ebf966c4c3fb3 to your computer and use it in GitHub Desktop.
[database]
sqlalchemy_engine=sqlite
sqlalchemy_connection_string=/opt/testnet/db/bitex.sqlite
[currencies]
VND=[ "VND" , "₫" , "Đồng" , false, 10000000000, "{:,.0f}", "#,##0 ₫;(#,##0 ₫)" , "{:,.0f}", "#,##0 ₫;(#,##0 ₫)"]
[instruments]
BTCVND=["BTCVND", "VND", "BTC / VND"]
[user_vbtc]
id=3
username=vbtc
email=admin@vbtc.vn
broker_id=8999999
broker_username=blinktrade
password=68hJ7(7wM7dc|0t
country_code=VN
transaction_fee_buy=0
transaction_fee_sell=0
verified=5
is_broker=yes
email_lang=vi
[user_vbtc_bonus]
id=3900000
username=vbtc_bonus
password=68hJ7(7wM7dc|0t
email=bonus@vbtc.vn
broker_id=3
broker_username=vbtc
country_code=VN
verified=5
is_broker=0
email_lang=vi
transaction_fee_buy=0
transaction_fee_sell=0
[user_vbtc_fees]
id=3900001
username=vbtc_fees
password=MY}FkQwc50Y7URV
email=fees@vbtc.vn
broker_id=3
broker_username=vbtc
country_code=VN
state=
verified=5
is_broker=0
email_lang=vi
transaction_fee_buy=0
transaction_fee_sell=0
[broker_vbtc]
user_verification_jotform=https://secure.jotformpro.com/form/52080762605957
user_upload_jotform=https://secure.jotformpro.com/form/52212043818952
id=3
short_name=VBTC
business_name=VBTC
signup_label=VBTC
address=129F/123/52A Bến Vân Đồn Phường 8, Quận 4
city=Hồ Chí Minh
state=Hồ Chí Minh
zip_code=700000
country_code=VN
country=Việt Nam
email=support@vbtc.vn
mandrill_api_key=
mailer_from_name=VBTC
mailer_from_email=support@vbtc.vn
mailer_signature=VBTC
mailchimp_list_id=18196b3357
verification_jotform=%(user_verification_jotform)s?user_id={{UserID}}&username={{Username}}&broker_id={{BrokerID}}&broker_username={{BrokerUsername}}&email={{Email}}&phoneNumber[country]=84&address[state]={{State}}&address[country]=Vietnam&language={{language}}
upload_jotform=%(user_upload_jotform)s?user_id={{UserID}}&username={{Username}}&broker_id={{BrokerID}}&broker_username={{BrokerUsername}}&deposit_method={{DepositMethod}}&control_number={{ControlNumber}}&deposit_id={{DepositID}}
currencies=VND
withdraw_structure= {
"BTC": [
{
"method":"bitcoin",
"description":"Bitcoin withdrawal",
"disclaimer": "",
"percent_fee":0,
"fixed_fee": 10000,
"limits": {
"0": {"enabled": true, "min": 200000, "max": 100000000},
"1": {"enabled": true, "min": 200000, "max": 100000000},
"2": {"enabled": true, "min": 200000, "max": 100000000},
"3": {"enabled": true, "min": 200000},
"4": {"enabled": true, "min": 200000},
"5": {"enabled": true, "min": 200000}
},
"fields": [
{"side":"client", "name": "Wallet" , "validator":"validateAddress", "type":"text" , "value":"" , "label":"Wallet", "placeholder":"" },
{"side":"broker", "name": "TransactionID" , "validator":"validateAlphaNum", "type":"text" , "value":"" , "label":"TxID", "placeholder":"" }
]
}
],
"VND": [
{
"method":"banktransfer",
"description":"Chuyển Khoản Ngân Hàng",
"disclaimer":"",
"percent_fee": 1,
"fixed_fee": 0,
"limits": {
"0": {"enabled": false},
"1": {"enabled": false},
"2": {"enabled": false},
"3": {"enabled": true, "min": 10000000000000, "max": 6000000000000000},
"4": {"enabled": true, "min": 10000000000000, "max": 19000000000000000},
"5": {"enabled": true, "min": 10000000000000}
},
"fields": [
{"side":"client", "name": "BankName" , "validator":"validateAlphaNum", "type":"text" , "value":"" , "label":"Ngân hàng", "placeholder": "Bank name"},
{"side":"client", "name": "AccountName" , "validator":"validateAlphaNum", "type":"text" , "value":"" , "label":"Chủ tài khoản", "placeholder": "Account holder name"},
{"side":"client", "name": "AccountNumber", "validator":"validateAlphaNum", "type":"text" , "value":"" , "label":"Số tài khoản", "placeholder": "Account number"},
{"side":"client", "name": "BankSwift" , "validator":"validateAlphaNum", "type":"text" , "value":"" , "label":"Số SWIFT", "placeholder":"Bank swift code"},
{"side":"broker", "name": "TransactionID", "validator":"validateAlphaNum", "type":"text" , "value":"" , "label":"TransactionID", "placeholder":"" }
]
}
]
}
crypto_currencies=[
{
"Wallets": [
{
"managed_by": "VBTC",
"signatures": [],
"type": "cold",
"multisig": false,
"address": "mhgsVdsPqbaohyMccAs5runmcCh8ft5aZn"
}
],
"CurrencyCode": "BTC",
"Confirmations": [
[ 0, 500000000, 1],
[ 500000000, 20000000000, 3],
[20000000000, 2100000000000000, 6]
],
"CurrencyDescription": "Bitcoin"
}
]
support_url=mailto:support@vbtc.vn
tos_url=https://docs.google.com/document/d/1i8RPDjEJYLJqdJKYV_iixodL8urWzjYkxE3YzUzj09A/pub?embedded=true
fee_structure=[]
transaction_fee_buy=30
transaction_fee_sell=30
status=1
ranking=5
is_broker_hub=0
lang=vi
accept_customers_from=[["*"],[ "CU", "SO", "SD", "NG", "IR", "KP" ]]
accounts={
"bonus":[ 3900000, "vbtc_bonus", [ "VND", 2000000000000 ] ] ,
"fees":[ 3900001, "vbtc_fees" ]
}
[deposit_method_901]
id=301
broker_id=3
name=bank_transfer
description=Chuyển khoản ngân hàng
disclaimer=1-3 ngày làm việc (Ví dụ: bạn gửi tiền từ thứ 5 thì có thể tới thứ 2 tuần sau ngân hàng chúng tôi mới ghi có). - Allow up to 3 business days
type=DTP
percent_fee=1
fixed_fee=0
broker_deposit_ctrl_num=301000001
currency=VND
user_receipt_url=https://secure.jotformpro.com/form/52212043818952?user_id={{UserID}}&username={{Username}}&broker_id={{BrokerID}}&broker_username={{BrokerUsername}}&deposit_method={{DepositMethod}}&control_number={{ControlNumber}}&deposit_id={{DepositID}}
deposit_limits={
"0": {"enabled": false},
"1": {"enabled": false},
"2": {"enabled": false},
"3": {"enabled": true, "min": 10000000000000, "max": 6000000000000000},
"4": {"enabled": true, "min": 10000000000000, "max": 19000000000000000},
"5": {"enabled": true, "min": 10000000000000}
}
html_template=<!DOCTYPE html>
<html lang="vi">
<head>
<meta charset="utf-8">
<link href="//maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<body style="background-color: #ffffff;">
<div class="container">
<div class="content-fluid">
<table class="table table-condensed">
<tr>
<td>Số kiểm soát (Control Number):</td>
<td>*|control_number|*</td>
</tr>
<tr>
<td>Ngày (Date):</td>
<td>*|created|*</td>
</tr>
<tr>
<td>Hướng dẫn (Instructions):</td>
<td>
1. Đến ngân hàng của bạn và thực hiện chuyển vào tài khoản ngân hàng dưới đây (Make the deposit into the following bank account):<br/>
Ngân hàng(Bank):<strong> VP Bank Phú Mỹ Hưng</strong> <br/>
Số tài khoản (Account Number):<strong>65572117</strong> <br/>
Chủ tài khoản (Account holder):<strong>Công ty TNHH VBTC</strong> <br/>
SWIFT:<strong>VPBKVNVX</strong> <br/>
Địa chỉ ngân hàng(Bank address):<strong>1473(D1-D6) KP Mỹ Toàn 1, Nguyễn Văn Linh, Quận 7 +84 8 54122094</strong> <br/>
2. <b style="color: red;">Viết số kiểm soát (*|control_number|*) trong việc nhận tiền gửi</b><br/>
(Write the control number (*|control_number|*) in the deposit receipt)<br/>
3. Chụp ảnh khi nhận tiền gửi (Take a picture of the deposit receipt) <br/>
4. Tải lên hình ảnh đó vào hệ thống (Upload the picture to the system) <br/>
</td>
</tr>
<tr>
<td>Số lượng (Amount):</td>
<td>*|value|* ₫</td>
</tr>
</table>
</div>
</div>
</body>
</html>
parameters={}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment