Inspiration
Polygon, chainlink, and IPFS/Filecoin are used a lot in NFT use cases. However, we want to prove that Polygon, chainlink, and IPFS/Filecoin can be used for many other fields such as healthcare. We think IPFS/Filecoin can be used for storing customers' health records and data while Polygon and chainlink can be used for setting wallet and payment. Thus, we would like to introduce Ataraxis.
What it does
Ataraxis is a Dapp that provides wallet set up using Polygon and chainlink. It also provides mental health diagnose and therapy. Customers can sign up for new appointments by posting comments and paying Ethereum funds through Metamask. Customers's comments are stored through Web3.Storage, making it available on IPFS with long-term backing by Filecoin.
The decentralized forum pulls forum state from a blockchain smart contract and post as well as comments from IPFS and Filecoin. The Dapp users need to provide web3.storage token ID before they can post the comment.
How we built it
We built transactions using Solidity, Hardhat, and ContentCID. We built a facade using React that ties together the contract interaction and the web3.storage so users can add posts and the posts will be stored in Web3.storage.
We deployed the contract using polygon and truffle. The wallet was built using polygon, chainlink, solidity. The Dapp was deployed using Spheron network.
All posts and comments content are stored in Filecoin and IPFS, while all ids and votes are stored in Ethereum smart contract.
IPFS and Chainlink
We deployed the contract using polygon and truffle. The wallet was built using polygon, chainlink, solidity. The Dapp was deployed using Spheron network.
All posts and comments content are stored in Filecoin and IPFS, while all ids and votes are stored in Ethereum smart contract.
Deployed contract on Polygon
- Link : https://mumbai.polygonscan.com/tx/0xe292d75afded9c6af14e677b877e9d7f9eefeec78c3cde7a7c806015263c8c3b
- Starting migrations...
- Network name: 'matic'
- Network id: 80001
- Block gas limit: 20000000 (0x1312d00)
- Deploying 'ConvertLib'
- transaction hash: 0xe292d75afded9c6af14e677b877e9d7f9eefeec78c3cde7a7c806015263c8c3b
- Blocks: 114 Seconds: 573
- contract address: 0xcc83A6ecFc17A431A40600a95462e9ae3FEEfDf4
- block number: 27317568
- block timestamp: 1658693275
- account: 0x4Ac7B4d2774A3D3cB9c174611492409335b178F0
- balance: 0.197776754993200752
- gas used: 157568 (0x26780)
- gas price: 2.500000007 gwei
- value sent: 0 ETH
- total cost: 0.000393920001102976 ETH
- Pausing for 2 confirmations...
- confirmation number: 1 (block: 27317569)
- confirmation number: 2 (block: 27317570)
- Linking
- Contract: MetaCoin <--> Library: ConvertLib (at address: 0xcc83A6ecFc17A431A40600a95462e9ae3FEEfDf4)
- Deploying 'MetaCoin'
- transaction hash: 0xc30bd67a108f4c1b4f7622122b6050874825a81310a5b841936c24c6eade54e5
- Blocks: 2 Seconds: 8
- contract address: 0x4aBD547126fe8862Ea6CF80273Bd0f72B2EdDAF3
- block number: 27317572
- block timestamp: 1658693295
- account: 0x4Ac7B4d2774A3D3cB9c174611492409335b178F0
- balance: 0.196735299989868096
- gas used: 416582 (0x65b46)
- gas price: 2.500000008 gwei
- value sent: 0 ETH
- total cost: 0.001041455003332656 ETH
- confirmation number: 1 (block: 27317573)
- confirmation number: 2 (block: 27317574)
- Saving artifacts
- Total cost: 0.001435375004435632 ETH
- Total deployments: 2
- Final cost: 0.001435375004435632 ETH
IPFS Storage Links
https://bafkreifie4svuwn3gyydp4wtwlw3ruuypuprx7i27xquvcguqavl6on2pm.ipfs.dweb.link/ https://bafkreidzonbrq4hnpn7cwfuyjsbmt6ko2qytj5ovxox6uefh75fcurarkq.ipfs.dweb.link/ https://bafkreia43kd2bbyxwjnhw675uylwxj7z6shuzw6hmwkny2x4ruf4cwkpxq.ipfs.dweb.link/ https://bafkreie6okkqodlncu6klw7myvtq2ynccujhypmy3h5hompzaqm3b7ph3a.ipfs.dweb.link/ https://bafkreie32q5mbomnrxjx2sscnwyqvrtl6hdqysn3qxf2xmi5jpvqso6b5u.ipfs.dweb.link/
Spheron
We used Spheron to build a decentralized User Interface
- Attach your custom domain with the Spheron: https://spheron.infura-ipfs.io/ipfs/QmTxomsGL7vKMzhbjey4836cXeHiq9LT92xmVa3FnjqBYN/
- Invite your teammate in your organization, Tweet - Share your experience: https://twitter.com/AmySunShinesLan/status/1568340074974138368 https://twitter.com/AmySunShinesLan/status/1568627624494129159
Technologies we used
- IPFS/Filecoin: All posts and comments content in chat are stored in Filecoin and IPFS, while all ids and votes are stored in Ethereum smart contract.
- Spheron: Using Spheron Application to host the Dapp UI on IPFS
- Polygon: smart contract, we deployed the contract using polygon and truffle.
- Chainlink: The wallet was built using polygon, chainlink, solidity.
Challenges we ran into
We had challenges to tie everything together because of bugs and errors. We also did not have enough funds to test.
Accomplishments that we're proud of
We were able to deliver the Dapp and explained out idea
What we learned
We learnt about Ethereum. We learnt to build and store data in. Web3.storage and use contentCID.
What's next for Polyataraxis
We would like to let users pay funds to upload and store their other medical records
Log in or sign up for Devpost to join the conversation.