Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-memo-and-logo #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

## Setup

- Install Node.js
1. Install Node.js

`sudo apt install nodejs`

2. Clone repository

`sudo git clone https://github.com/kadena-community/kadena-transfer-js.git`
## Easy Transfer using index.html

1. Point web browser to file location of index.html
2. Complete fields for sender and receiver accounts and amount.

## Single Chain Transfer

Expand Down
15 changes: 14 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
<body>
<div id="main">
<div class="container">
<img src="https://explorer.chainweb.com/static/1lv9xhxyhlqc262kffl55w08ms1cvxsnrv49zhvm0b799dsi0v0i-kadena-k-logo.png" class="center" style="width:60px;height:70px">
<h1>Kadena Coin Transfer</h1>
<form id ="kadena-form"class="ui form">
<div id="node-field" class="field">
Expand Down Expand Up @@ -212,6 +213,12 @@ <h4>NOTE: If transfering to an existing account make sure keyset predicate match
<div class="result">
<h4 id="request-key"/>
</div>
<div class=memo>
<label>CAUTION! DEPENDING HOW YOU CREATED YOUR KEYS/ACCOUNT YOU MAY NOT BE ABLE TO SEND TO CERTAIN OTHER ACCOUNTS, OR MAY NOT BE ABLE TO RECEIVE FROM CERTAIN ACCOUNTS!</label>
</div>
<div class=memo>
<label>It's recommended to do TWO test transactions to make sure you can send AND receive.</label>
</div>
<button id="submit-button" class="ui primary button">Make Transfer</button>
</form>

Expand All @@ -222,7 +229,13 @@ <h4 id="request-key"/>
.dropdown {
margin-bottom: 10px;
}

.memo {
text-align: center;
color: red;
font-size: 18px;
font-weight: bold;
margin-bottom: 15px;
}
.container {
text-align: center;
margin-top: 20px;
Expand Down