Our app needs to upload some files to IPFS. We want to use Pinata pinning API. Uploads should be performed from the client side directly (without passing through our NodeJS backend server) It have an HTTP api documented on the Pinata homepage, and NodeJS SDK There's no browser SDK but we could upload to the Pinata API endpoint directly using fetch() or axios client. A complete example with axios usage could be found inside its Node SDK source Goals and objectives You need to implement a simple proof on concept app: A simple UI with preview image (show some placeholder if no image uploaded) and "Upload..." button
1/27/2022Test Description The purpose of this test is to: see how you perform research to solve new tasks communicate with me your research findings and QUESTIONS Requirements Ask questions Report progress after every time you work on it
12/28/2021The purpose of the test is to check how you learn and research new material. But also how do you communicate with me to help you and guide you, so it is perfectly fine and expected that you ask the right questions when you are stuck, or to confirm that you are on the right track. Good Luck Read the "Fuse Bridge" specifications here: (You DO NOT need to implement it) https://github.com/GoodDollar/Bounties/issues/9 Answer the following The first condition for the smart contract is that only "Fuse Validators" can write to it. Research how can you get the current list of validators on-chain. Write a solidity or javascript method that receives a Block Header from an evm blockchain of your choice (ethereum, fuse, binance etc..) and correctly calculates the Block Hash using the data from the block header
12/16/2021Task 1 - Contract to save signed blockheaders The purpose of this contract is to enable a fixed set of trusted validators to submit blockhashes from another blockchain. the contract will hold a mapping of blockhash -> BlockData a mapping of blockhash -> SignedBlock contract will be initialized with a list of validators addresses BlockHeader { parent_hash: bytes32 timestamp: uint256,
12/12/2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up