]*)\/>/gi,la=/
30 |
31 | {{ template "snippets/footer.html" . }}
32 |
--------------------------------------------------------------------------------
/templates/key/export.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Export Key
4 |
5 |
6 |
11 |
12 |
13 |
18 |
19 | {{ template "snippets/footer.html" . }}
20 |
--------------------------------------------------------------------------------
/templates/key/load.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | WIF (base58)
4 | {{ .PrivateKey.GetBase58 }}
5 |
6 |
7 | WIF Compressed (base58)
8 | {{ .PrivateKey.GetBase58Compressed }}
9 |
10 |
11 | Raw Key (hex)
12 | {{ .PrivateKey.GetHex }}
13 |
14 |
15 | Raw Key (binary)
16 |
17 | {{ .PrivateKey.GetBinaryString }}
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/templates/login.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Login
4 |
5 |
20 |
21 |
26 |
27 | {{ template "snippets/footer.html" . }}
28 |
--------------------------------------------------------------------------------
/templates/memo/follow.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Follow {{ .Profile.Name }}
4 |
5 |
18 |
19 |
24 |
25 | {{ template "snippets/footer.html" . }}
26 |
--------------------------------------------------------------------------------
/templates/memo/like.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Like Memo
4 |
5 | {{ template "snippets/post.html" dict "Post" .Post "Compress" true }}
6 |
7 |
24 |
25 |
30 |
31 | {{ template "snippets/footer.html" . }}
32 |
--------------------------------------------------------------------------------
/templates/memo/new.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | New Memo
4 |
5 |
20 |
21 |
26 |
27 | {{ template "snippets/footer.html" . }}
28 |
--------------------------------------------------------------------------------
/templates/memo/post.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Memo
4 |
5 | {{ template "snippets/post.html" dict "Post" .Post "Compress" false }}
6 |
7 | {{ if .Post.Likes }}
8 | Likes
9 |
10 |
24 | {{ end }}
25 |
26 | {{ template "snippets/footer.html" . }}
27 |
--------------------------------------------------------------------------------
/templates/memo/set-name.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Set Name
4 |
5 |
6 |
7 | Name
8 |
10 |
11 |
12 | Password
13 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
26 |
27 | {{ template "snippets/footer.html" . }}
28 |
--------------------------------------------------------------------------------
/templates/memo/unfollow.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Unfollow {{ .Profile.Name }}
4 |
5 |
6 |
7 |
8 |
9 |
10 | Password
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
24 |
25 | {{ template "snippets/footer.html" . }}
26 |
--------------------------------------------------------------------------------
/templates/need-funds.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Need Funds
4 |
5 |
6 | In order to perform actions you need Bitcoin Cash to pay for the transactions.
7 |
8 |
9 |
10 | Please send some BCH to your address: {{ .Key.GetAddress.GetEncoded }}
11 |
12 |
13 |
14 | You don't need much to begin, actions cost less than one cent each.
15 |
16 |
17 |
18 | If you don't have any BCH, try visiting a faucet like
19 | free.bitcoin.com/ .
20 |
21 |
22 | {{ template "snippets/footer.html" . }}
23 |
--------------------------------------------------------------------------------
/templates/new-posts.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | New Posts
4 |
5 |
6 | Prev
7 | Next
8 |
9 |
10 | {{ template "snippets/posts.html" .Posts }}
11 |
12 |
13 | Prev
14 | Next
15 |
16 |
17 | {{ template "snippets/footer.html" . }}
18 |
--------------------------------------------------------------------------------
/templates/profile/all.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Profiles
4 |
5 |
6 |
7 | Search:
8 |
9 |
10 |
11 |
12 |
25 |
26 |
36 |
37 | {{ template "snippets/footer.html" . }}
38 |
--------------------------------------------------------------------------------
/templates/profile/followers.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 |
8 |
9 | {{ if not .Profile.Followers }}
10 | No Followers Yet
11 | {{ else }}
12 | Followers
13 | {{ end }}
14 |
15 | {{ range .Profile.Followers }}
16 |
17 | {{ .Name }} ({{ .GetAddressString }})
18 |
19 | {{ end }}
20 |
21 |
22 | {{ template "snippets/footer.html" . }}
23 |
--------------------------------------------------------------------------------
/templates/profile/following.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 |
8 |
9 | {{ if not .Profile.Following }}
10 | Not Following Anyone Yet
11 | {{ else }}
12 | Following
13 | {{ end }}
14 |
15 | {{ range .Profile.Following }}
16 |
17 | {{ .Name }} ({{ .GetAddressString }})
18 |
19 | {{ end }}
20 |
21 |
22 | {{ template "snippets/footer.html" . }}
23 |
--------------------------------------------------------------------------------
/templates/profile/index.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Profile
4 |
5 | {{ template "snippets/profile.html" .Profile }}
6 |
7 | {{ if not .Posts }}
8 | No Posts Yet
9 | {{ else }}
10 | Posts
11 | {{ end }}
12 |
13 | {{ template "snippets/posts.html" .Posts }}
14 |
15 | {{ if .Likes }}
16 | Likes
17 |
18 |
29 | {{ else }}
30 | This User Hasn't Liked Anything Yet
31 | {{ end }}
32 |
33 | {{ template "snippets/footer.html" . }}
34 |
--------------------------------------------------------------------------------
/templates/protocol.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Protocol
4 |
5 |
6 | Protocol uses P2PKH addresses.
7 | Actions are saved using OP_RETURN .
8 |
9 |
10 |
11 | Message data is UTF-8 encoded. For example, this action would set your name to "memo":
12 |
13 |
14 | OP_RETURN 6d01 6d656d6f
15 |
16 | Action Codes
17 |
18 |
19 |
20 |
21 | Action
22 | Prefix
23 | Values
24 | Status
25 | Example
26 |
27 |
28 |
29 |
30 | Set name
31 | 0x6d01
32 | name(76)
33 | Implemented
34 |
35 |
37 | Block Explorer
38 |
39 |
40 |
41 |
42 | Post memo
43 | 0x6d02
44 | message(76)
45 | Implemented
46 |
47 |
49 | Block Explorer
50 |
51 |
52 |
53 |
54 | Reply to memo
55 | 0x6d03
56 | txhash(20), message(53)
57 | Planned
58 |
59 |
60 |
61 | Like / tip memo
62 | 0x6d04
63 | txhash(20)
64 | Implemented
65 |
66 |
68 | Block Explorer
69 |
70 |
71 |
72 |
73 | Set profile text
74 | 0x6d05
75 | message(76)
76 | Planned
77 |
78 |
79 |
80 | Follow user
81 | 0x6d06
82 | address(35)
83 | Implemented
84 |
85 |
87 | Block Explorer
88 |
89 |
90 |
91 |
92 | Unfollow user
93 | 0x6d07
94 | address(35)
95 | Implemented
96 |
97 |
99 | Block Explorer
100 |
101 |
102 |
103 |
104 | Set image base url
105 | 0x6d08
106 | url(76)
107 | Planned
108 |
109 |
110 |
111 | Attach picture
112 | 0x6d09
113 | txhash(20), imghash(20), url(34)
114 | Planned
115 |
116 |
117 |
118 | Set profile picture
119 | 0x6d10
120 | imghash(16), url(61)
121 | Planned
122 |
123 |
124 |
125 | Repost memo
126 | 0x6d11
127 | txhash(20), message(63)
128 | Planned
129 |
130 |
131 |
140 |
141 |
142 |
143 |
144 | Additional actions being considered:
145 |
146 |
147 |
148 | Tagging users in posts
149 | Voting
150 | Issue and revoke delegated addresses
151 | Dislike and/or flag posts/users
152 |
153 |
154 |
155 | Note: Actions that have not been implemented are subject to change.
156 |
157 |
158 | {{ template "snippets/footer.html" . }}
159 |
--------------------------------------------------------------------------------
/templates/signup.html:
--------------------------------------------------------------------------------
1 | {{ template "snippets/header.html" . }}
2 |
3 | Sign Up
4 |
5 |
6 |
7 | NOTE: This username is used for login purposes only and is not visible by anyone else.
8 | Memo usernames are separate and require on-chain transactions using BCH.
9 |
10 |
11 |
12 |
13 |
14 | Username
15 |
17 |
18 |
19 | Password
20 |
22 |
23 |
24 | Retype Password
25 |
27 |
28 |
29 |
30 | Create Key
31 |
32 |
33 |
34 | Import Key
35 |
36 |
37 | Private Key (WIF)
38 |
39 |
40 |
41 |
42 |
43 | Disclaimer: {{ template "snippets/disclaimer.html" }}
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
56 |
57 |
62 |
63 | {{ template "snippets/footer.html" . }}
64 |
--------------------------------------------------------------------------------
/templates/snippets/disclaimer.html:
--------------------------------------------------------------------------------
1 | You acknowledge that you are using an application that is in alpha testing,
2 | that your account could be lost at any time,
3 | and that memo takes no responsibility for your account or keys.
4 | In order to ensure that your keys are not lost, please use the export feature to back them up.
5 |
--------------------------------------------------------------------------------
/templates/snippets/feed.html:
--------------------------------------------------------------------------------
1 |
2 | {{ if not (eq .Offset 0) }}
3 | Prev
4 | {{ end }}
5 | {{ if eq .PostCount 25 }}
6 | Next
7 | {{ end }}
8 |
9 |
10 | {{ template "snippets/posts.html" .Posts }}
11 |
12 |
13 | {{ if not (eq .Offset 0) }}
14 | Prev
15 | {{ end }}
16 | {{ if eq .PostCount 25 }}
17 | Next
18 | {{ end }}
19 |
20 |
21 | {{ if eq .Profile.Balance 0 }}
22 |
23 | Send yourself some BCH to start posting.
24 |
25 | {{ end }}
26 |
--------------------------------------------------------------------------------
/templates/snippets/followers.html:
--------------------------------------------------------------------------------
1 | {{ if not . }}
2 | No Followers Yet
3 | {{ else }}
4 | Followers
5 | {{ end }}
6 |
7 | {{ range . }}
8 |
9 | {{ .Name }} ({{ .GetAddressString }})
10 |
11 | {{ end }}
12 |
--------------------------------------------------------------------------------
/templates/snippets/following.html:
--------------------------------------------------------------------------------
1 | {{ if not . }}
2 | Not Following Anyone Yet
3 | {{ else }}
4 | Following
5 | {{ end }}
6 |
7 | {{ range . }}
8 |
9 | {{ .Name }} ({{ .GetAddressString }})
10 |
11 | {{ end }}
12 |
--------------------------------------------------------------------------------
/templates/snippets/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Introducing Memo
5 |
6 | Official Memo Profile
7 |
8 | Protocol
9 |
10 | Stats
11 |
12 |
13 |
20 |
21 |