Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isaac stott #14

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"solidity.compileUsingRemoteVersion": "v0.5.17+commit.d19bba13"
}
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# crypto-marketplace

## What is it

- A decentralized application deployed on the ethereum test blockchain called Kovan Test Network.
- A decentralized marketplace where anybody with an ethereum wallet on metamask can list items for sale.
- Used solidity language to implement smart contracts to:
- create listing of an item to be sold.
- purchase the item on the marketplace using ethereum.
- Constructed client side in ReactJS with bootstrap and styled-components libraries.

### How to connect MetaMask wallet to website

1. Please note that this application is setup ONLY on the Kovan Test Network.
2. Go to MetaMask extension and select the wallet you want to connect.
3. Confirm this wallet is setup on the Kovan Test Network.
4. On the right side of account name, select the 3 dots for more options, select 'Connected sites'.
5. Select 'Manually connect to current site'.
6. Select all accounts you wish to connect to CRYPTOBASE website then press 'next'.
7. Press 'Connect'. After which you should see that you are connected. Refresh the page.

### What technologies, languages and libraries were used

- Solidity
- JavaScript
- ReactJS
- Bootstrap/reactstrap
- Styled-components
- Web3
- Chai
- Axios
- Truffle
- Ganache
- MetaMask

### Things to add in the future

- I would like to implement a backend database in node.js for buyer/seller profiles.
- This would allow buyers to see all of their orders.
- Store shipping information if desired for quicker purchasing.

- I would like to flesh out the purchasing process where:
- When a buyer makes a purchase, a page will display for shipping instructions.
- This address can then be sent to the seller for shipping

5 changes: 5 additions & 0 deletions migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Marketplace = artifacts.require("Marketplace");

module.exports = function(deployer) {
deployer.deploy(Marketplace);
};
Loading