Support IPFS imports in solidity
See original GitHub issueOutline
Embark supports special solidity imports as outlined in the documentation here. The goal of this task is to support solidity file imports with ipfs URIs just like it’s currently support for HTTP and git, for e.g
import "ipfs://QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/some_folder/test.sol"
Acceptance Criteria
- It should support any valid IPFS URI
- it should not use an external webservice, it should be able to access the file using ipfs directly (e.g through the configure ipfs node and or ipfs-js-api)
- If the imported sol file, has other imports, those should automatically be taken care of (existing behaviour for current http imports)
Issue Analytics
- State:
- Created 5 years ago
- Comments:24 (10 by maintainers)
Top Results From Across the Web
Importing & Loading Source Files in Solidity — Remix
Importing & Loading Source Files in Solidity¶. There are two main reasons for loading external files into Remix: to import a library or...
Read more >How to use IPFS in your Dapp? - Solidity developer
import IPFS from "ipfs"; async function initIpfs() { node = await IPFS.create(); const version = await node.version(); console.log("IPFS ...
Read more >How to integrate IPFS with Ethereum explained - QuickNode
1. It can be costly to store massive files on a blockchain mainnet, and this is where decentralized file... 2. The web that...
Read more >Storage DApp using Solidity and IPFS | by Marcos Carlomagno
Storage DApp using Solidity and IPFS. Imagine a decentralized storage application where we share our disks to each other without any server in...
Read more >Import Path Resolution — Solidity 0.8.17 documentation
Paths used in imports must work the same way everywhere while the command-line interface must be able to work with platform-specific paths to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great thanks for all the hard work and meticulous cherrypicking! 💯
Hey @iurimatias, Ryan from Gitcoin here. Looks like @PumpkingWok submitted a PR for you to review. Do you think you could take a look? As always, feel free to ping me with any questions 😃