Giter Club home page Giter Club logo

polywall_contracts's Introduction

What is this?

PolyWall is a plain-text file stored on the Polygon blockchain. There are 2^256-1 lines on this wall. Each line is 100 characters long.

Is it free?

Creation of new lines is free. Each modification of a line increases the cost for editing by 0.01 MATIC. If someone replaces your text you will receive 90% of what one has paid.

Any Rules?

You are free to write whatever you like. The Wall will never be moderated. We believe that freedom of speech is one of the unalienable right for every man. Leave a message. It will be stored on-chain. Forever. Check out the website to try it yourself.

Also, you can use PolyWall CLI (on github) for uploading text files.

Contract is deployed to the Polygon mainnet: 0x3F9C46cb59ba9Ea5E9b5F2863E6Df22b44B29887


PolyWall CLI

PolyWall CLI is simply a bunch of functions. It's made mainly for file upload.

Requirements

  • python 3.7

Setup

  1. Install browniepip install eth-brownie
  2. Add the account you want to use brownie accounts new <NAME>
  3. Set an environment variable WEB3_INFURA_PROJECT_ID with your Infura key

Usage

You can upload text files to the PolyWall

  1. Put your file into scripts\cli\files
  2. Run
brownie run .\scripts\cli\cli.py upload_file 0xWALL <ACCOUNT_NAME> <FILE_NAME> <FROM_LINE> --network polygon-main

Other functions are well documented in .\scripts\cli\cli.py

polywall_contracts's People

Stargazers

anonr avatar

Watchers

anonr avatar  avatar

polywall_contracts's Issues

Request HTML/JS files for the project

Thanks for posting the code in github. I am planning to learn web3 using Python. Can you post the UI files HTML/JS also in Github?

Any end to end tutorial in Github will be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.