Skip to content
Official P3C.io Website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
css
doc-assets
img
js
lib
CNAME
LICENSE
README.md
airdrop.html
farmer.html
index.html
interact.html
sponsor.html
transition.html
use.html

README.md

p3c-bot.github.io

P3C Interface. Make sure you have Saturn Wallet installed. This can be run locally if necessary.

  1. git clone https://github.com/p3c-bot/p3c-bot.github.io.git && cd ./p3c-bot.github.io/
  2. npm install -g live-server
  3. Run live-server from this directory.
  4. Navigate to localhost:8080/use.html for the dashboard.

Want to create a fork with a permanent Masternode?

A Masternode entitles you to 33% of the 10% community fee on buying/selling/reinvesting. You can create a custom branded site that funnels all ETC through your Masternode.

  1. Fork this repository. fork

  2. Go to /lib/masternode.js

  3. Replace the address in var permanentMasternode = "0x0000000000000000000000000000000000000000" with your crop address. This can be found for your account on the main p3c.io wallet in the reflink box. crop

  4. Replace img/logo.svg and title in /use.html.

  5. Replace the custom color scheme in /css/custom.css.

  6. Turn on Github pages by going to the settings of the new forked repository.

replace

You're done!

Development tips

  • I use http://remix.ethereum.org/ to deploy smart contracts
  • ETC only uses 0.4.21 or below compilers.
  • For a dapp fork, Copy and paste source code into Remix and then deploy.

For frontend:

  • Use farmer.html as a template with jquery, very simple but works.
  • Use Farm to understand how to connect web3 with javascript
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.