Table of Contents
Making use of blockchain technology, we have created the first community based cryptocurrency called Sympodium coin. Which exist outside central authority and it is fully peer to peer. We have an NFT market place called Sympodium NFT That allows user to mint NFT'S
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
The project consist of the backend and also the front end.
-
nodejs installed
-
npm
npm install npm@latest -g
To run this project locally, follow these steps.
- Clone the project locally, change into the directory, and install the dependencies:
git clone https://github.com/mendsalbert/sympodiumCoin
cd sympodiumCoin
# install using NPM or Yarn
npm install
# or
yarn- Start the local Hardhat node
npx hardhat node- With the network running, deploy the contracts to the local network in a separate terminal window
npx hardhat run scripts/deploy.js --network localhost- Start the app
npm run dev
To deploy to Polygon test or main networks, update the configurations located in hardhat.config.js to use a private key and, optionally, deploy to a private RPC like Infura.
require("@nomiclabs/hardhat-waffle");
const fs = require("fs");
const privateKey =
fs.readFileSync(".secret").toString().trim() || "01234567890123456789";
// infuraId is optional if you are using Infura RPC
const infuraId = fs.readFileSync(".infuraid").toString().trim() || "";
module.exports = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
chainId: 1337,
},
mumbai: {
// Infura
// url: `https://polygon-mumbai.infura.io/v3/${infuraId}`
url: "https://rpc-mumbai.matic.today",
accounts: [privateKey],
},
matic: {
// Infura
// url: `https://polygon-mainnet.infura.io/v3/${infuraId}`,
url: "https://rpc-mainnet.maticvigil.com",
accounts: [privateKey],
},
},
solidity: {
version: "0.8.4",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
};If using Infura, update .infuraid with your Infura project ID.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License.
Mends Albert - @mendsalbert - mendsalbert@gmail.com
Brilliant Kwakye - @a_moah__
Daniel Sarkodie - @AbrantepaSark
Project Link: https://github.com/mendsalbert/sympodiumCoin
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!
