forked from stacks-network/stacks-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request stacks-network#2 from blockstack/server
Server
- Loading branch information
Showing
18 changed files
with
427 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
registrar | ||
================== | ||
|
||
For registering and updating passnames and passcards | ||
For registering and updating blockchain ID | ||
|
||
## Setup Environment | ||
|
||
BNS currently uses the Namecoind blockchain for storing data. You'll need to compile a Namecoin Daemon (namecoind) to register/update opennames and profiles. You can follow the instructions for [compiling namecoind on Debian](https://github.com/namesystem/registrar/blob/master/doc/build-debian.md). | ||
Blockchain ID currently uses the Namecoind blockchain for storing data. You'll need to compile a Namecoin Daemon (namecoind) to register/update opennames and profiles. You can follow the instructions for [compiling namecoind on Debian](https://github.com/namesystem/registrar/blob/master/doc/build-debian.md). | ||
|
||
We've also developed a Python RPC client, shipped with [pybitcoin](https://github.com/namesystem/pybitcoin/rpc) for easily interacting with namecoind. This RPC client can be used to register users and update their profiles once you've setup your own namecoind instance. See the [README](https://github.com/namesystem/pybitcoin/tree/master/pybitcoin/rpc) files for details. | ||
|
||
We're in the process of releasing more tools/software for making this process easier for developers, so stay tuned! | ||
|
||
## Passnames | ||
## Blockchain ID | ||
|
||
Passnames (usernames) may be up to 60 characters long and contain lowercase letters, numbers, and underscores. | ||
Usernames may be up to 60 characters long and contain lowercase letters, numbers, and underscores. | ||
|
||
**Note:** usernames with ANY uppercase letters will be ignored by crawlers, so make sure to only use lowercase letters when you register a name. | ||
|
||
Regex: ^[a-z0-9_]{1,60}$ | ||
|
||
## Passcard Registration | ||
## Registration | ||
|
||
To register a passcard: | ||
To register a blockchain ID: | ||
|
||
1. choose an available passname | ||
2. construct a valid JSON object that adheres to the [passcard schema specifications](https://github.com/namesystem/namesystem/wiki/Passcard-Schema-v2) | ||
3. register the passname and passcard as an entry in the key-value store | ||
1. choose an available username | ||
2. construct a valid JSON object that adheres to the [profile schema specifications](https://github.com/blockstack/blockstack/wiki/Passcard-Schema-v2) | ||
3. register the username and profile as an entry in the key-value store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
blockstack_cli/blockstack_registrar/registrar/renew_names.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.