https://github.com/data-miner00/positron

A simple project that allows user to send Ethereum with gifs and message

https://github.com/data-miner00/positron

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

ethereum react truffle
Last synced: 5 months ago · JSON representation

Repository

A simple project that allows user to send Ethereum with gifs and message

Basic Info
  • Host: GitHub
  • Owner: data-miner00
  • Language: TypeScript
  • Default Branch: master
  • Homepage:
  • Size: 3.13 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
ethereum react truffle
Created over 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme

README.md

Positron+

Positron+ is a simple dapps that allows user to send ethers and attach a message and keyword along with the transaction.

Tech Stacks

The list of technologies used for this project.

Front-end

Smart Contracts

Demo

Landing page of the Dapp.

Positron landing page

After connecting the Metamask wallet and filling up the forms for transfer, two Metamask prompt will popup consequently. The first one is to confirm the transaction to send the ethers to the destination address.

Sending Eth prompt

The second prompt will ask for confirmation to interact with the smart contract so that the data will be written to the blockchain.

Interacting with Smart Contract

After executing all the transactions, Metamask will notify us upon confirmed transactions.

Metamask notification for confirmed transactions

The transaction added will be displayed in a card.

Transaction card

All the transactions can be viewed in the /transactions page.

Transactions page

Development

Smart Contracts

The framework for managing smart contract used is Truffle. To install Truffle

npm i -g truffle

Install Node dependencies

pnpm i

Build and compile the smart contracts within the contracts folder

pnpm build

Building contracts will product an artifact called Transaction.json that is required by the client project. The file can be cloned by running ../scripts/copy_abi.ps1

Deploy the compiled contracts to local Ethereum network

pnpm migrate

Before migration, create a file called private-key.crt and paste one of the account's private key and all the deployments will be performed under that account.

Spinup a local interactive Ethereum blockchain

pnpm dev

Alternatively, use Truffle Ganache to spinup a local Ethereum network with UI.

Ganache

Run contract tests

pnpm test

Lint contracts

pnpm lint

Client

To run the client locally, make sure to locate in the client first.

cd client

Installing Node dependencies by

yarn

Serve on localhost

yarn start

Running tests

yarn test

Build for deployment

yarn build

Storybook

The development of the user interfaces are facilitated by the use of Storybook to document and produce prototypes quickly.

Storybook

Start Storybook locally

``` yarn storybook

// or short form yarn sb ```

Build Storybook for hosting

yarn build-storybook

Roadmaps

The list of milestones that is planned to fulfill following the initial release.

  • [ ] Personalized profile avatar
  • [ ] Redesign landing page
  • [ ] Make Nx monorepo
  • [ ] Add more chain such as Algorand.
  • [ ] Customize Storybook
  • [x] Use Framer motion to animate elements

Credits

Resources

Owner

  • Name: Shaun Chong
  • Login: data-miner00
  • Kind: user
  • Location: undefined, Mars
  • Company: Experian

Full Queue Developer

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 165
  • Total Committers: 2
  • Avg Commits per committer: 82.5
  • Development Distribution Score (DDS): 0.255
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Shaun Chong m****3@g****m 123
data-miner00 d****0 42

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels