Agoric Systems Steem account creation faucet code is now Open Source

in #utopian-io6 years ago (edited)

  • What is the project about?
    https://agoric.co, the official website of @agoric.systems with a built in Steem account creation faucet has been open sourced. It uses unique codes printed on physical slips to allow a Steem account to be created using the account @agorian as the registrar. @buildteam expressed interest in using our code to drive their own Steem invite voucher project, so we have decided to finally open source the project. You can access the Github repository here.

  • Technology Stack
    Python 3.5, Flask, SQLAlchemy, steem-python, MySQL.

  • Roadmap
    We are opening the code to the community so that others may benefit from our work or use it as a starting point, as we will be focusing on other projects.

  • How to contribute?
    The code is free to use for commercial purposes. Pull requests to our repo will be reviewed and merged if it makes sense.

Check out the instructions below (also in README.md) to hack on our code.

# Running the web app locally for development on macOS

1) Download virtualenv / virtualenvwrapper.sh and create 
a new virtualenv. 

Using homebrew, this can be done with the following commands:

> brew install virtualenvwrapper.sh


2) Next, we want to create a new virtualenv using Python 3.5+.

On macOS the following env variables are necessary. 
You can set them by adding them to your ~/.profile

export WORKON_HOME=~/.venvs
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
source /usr/local/bin/virtualenvwrapper.sh
export PATH=/usr/local/bin:$PATH
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
export FLASK_APP=agoricco
export FLASK_DEBUG=1


3) Now the virtualenv can be created.

> mkvirtualenv agoricco


4) Your prompt should say (agoricco) now.

5) Clone the project's git repo somewhere.

> git clone [email protected]:agoric-systems/agoric.co.git

6) Next, change into the project's directory.

> cd agoricco

7) Install the python dependencies.

> pip install -r requirements.txt

8) Change directory again into the agoricco directory
 and start the flask app.

> flask run

9) If you need to activate the virtualenv  again in the future:

> workon agoricco

Don't hesitate to contact @robrigo with any questions, or if you'd like us to send some scrips your way.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

Please consider editing this post to include the content of the repo's readme since this is a development post as opposed to a blog announcement.

I look forward contributing as well.

You can contact us on Discord.
[utopian-moderator]

We've added the repo's readme to the post. Thanks for the suggestion. :)

super exciting! glad to see you got the scripts back and the project is moving forward. Open Source on top of that? Weeeeeeeeee!

Thanks, it was great talking with you at Steemfest! @lovejoy got the scrips back after a few weeks of being home, they eventually found their way to him, and we've been giving them out in our local communities.

Hey @agoric.systems I am @utopian-io. I have just upvoted you!

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • You are generating more rewards than average for this category. Super!;)
  • This is your first accepted contribution here in Utopian. Welcome!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Huh? This post is a great example of my experience on Steemit as a newbie of about a week. It seems like there’s something cool here, but I really have zero clue what it’s about. I wish more people would provide the context for their posts - why what they are posting about matters, who it matters to, what you need to know to make sense of it, etc. So far Steem is almost impenetrable to newbies because it seem mostly like people who have been here a while and are already 3 miles ahead and running at full speed. Is there a slow lane on Steem? ;D

You can read @agoric.systems post history to see what the project is about. This post is specifically related to open sourcing the process we use to validate codes and register Steem accounts.

Ok thanks, I read their first post, and I guess I get the gist, but it was still a little vague what is going on besides their basic goals.

What are the minimum steem power / steem / sbd limits to start registering accounts?

We give each account 3 SP that we register.

How can find "Agoric script code"? Is there any procedure to follow?

The github for this project is available here: https://github.com/agoric-systems/agoric.co

You need to be given agoric scrip invite slips to get a code. This post is for those that would like to set up their own invite slip distribution using the same web application code.

If you want some agoric scrip, you need to send a mailing address to me. You can DM me on steemit.chat or telegram.

How does this work? I do not understand.

The github for this project is available here: https://github.com/agoric-systems/agoric.co

You need to be given agoric scrip invite slips to get a code. This post is for those that would like to set up their own invite slip distribution using the same web application code.

If you want some agoric scrip, you need to send a mailing address to me. You can DM me on steemit.chat or telegram.

What I mean is that I do not understand what this code is for and I would like to know how this entire thing works. Can you explain?

Maybe you aren't the target audience ;)

Probably...

Nice post...
Please upvote my post....

its very interesting post..thanks for sharing with us...great job

Its nice post. Brother iam new in steemit community; how can I enter and achieve success?.

thanks a lot for sharing your valuable post..thanks for sharing...

Yes, very valuable, I agree.

Nice article

Terima kasih untuk informasinya, sungguh bermanfaat...

Wow that is a detailed project. Good work. I hope many new people join because of you!

Highly rEsteemed!

Thank you

I didn´t get it very well the mean of this... are trying to create a steem faucet?

Regalame un upvote no perderás un dedo te lo garantizo!!! Give me an upvoe please you will not lose a finger!!! i guarantee! https://steemit.com/art/@artax89/do-you-like-my-conceptual-art-if-it-is-please-help-me-and-give-me-an-up-voted

Congratulations @agoric.systems! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Congratulations @agoric.systems! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Congratulations @agoric.systems! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!


@agoric.systems, sorry to see you have less Steem Power.
Your level lowered and you are now a Red Fish!

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

@agoric.systems you were flagged by a worthless gang of trolls, so, I gave you an upvote to counteract it! Enjoy!!

Congratulations @agoric.systems! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - The results, the winners and the prizes

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Hello @agoric.systems,

You are one of my Steemit witnesses, and as such I hope you'll pardon this off-topic contact.

I'm here to inform you of a fantastic opportunity to promote STEEM.

Please check out the information in my article:

STEEM On Netcoins Contest: EVERYbody Wins!

I'm not looking for your vote or reSteem...

I am asking you to take action to promote this!
It seems clear to me that it will benefit the entire Steemit community.

Thank you in advance for your consideration!

😄😇😄

@creatr

Congratulations @agoric.systems! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Congratulations @agoric.systems! You received a personal award!

Thank you for the witness votes you made to support your Steem community and for keeping the Steem blockchain decentralized

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Use your witness votes and get the Community Badge
Vote for @Steemitboard as a witness to get one more award and increased upvotes!