steemit / tinman

Testnet management scripts
8 stars 20 forks source link

TN: "Create an account" service via RPC/Web - post bootstrap #167

Closed relativityboy closed 6 years ago

relativityboy commented 6 years ago

As a developer I want to be able to create my own accounts on the testnet that have sufficient bandwidth to post and do transactions, at will, at no cost, and with minimal foreknowledge, so that I can develop apps on the testnet in the way that best suits my company's development cycle. So that barriers to using Steem are lowered.

AC

inertia186 commented 6 years ago

Suggestion: the web page should check if the account exists and if it does, let them log into the testnet condenser, maybe hinting that they should use their mainnet keys.

inertia186 commented 6 years ago

Well, I got stuck in package managemenet hell (failed: pipenv install Flask='0.11.*'), but this got me unstuck: https://github.com/pypa/pipenv/issues/2871

relativityboy commented 6 years ago

Suggestion: the web page should check if the account exists and if it does, let them log into the testnet condenser, maybe hinting that they should use their mainnet keys.

Yes. Many, many improvements. Other issues.

inertia186 commented 6 years ago

Quickstart:

git pull
pip install .
cp server.conf.example server.conf
tinman server \
    --get-dev-key path/to/get_dev_key \
    --signer path/to/sign_transaction \
    --timeout 600 \
    --chain-id=46d82ab7d8db682eb1959aed0ada039a6d49afa1602491f93dde9cac3e8e6c32

Try it out by going to:

http://127.0.0.1:5000/account_create