Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

📝 Add files to IPFS and stamp its IPFS CID hash permanently on the ARK Blockchain

License

NotificationsYou must be signed in to change notification settings

rigwild/ipfs-ark-stamp

Repository files navigation

📝 Add files to IPFS and stamp its IPFS CID hash permanently on the ARK Blockchain

Uses anOrbitDB log instance on the IPFS node to store theARK Blockchain IPFS stamps transaction IDs associated with the IPFS files CIDs.

Features

  • List/Add/Delete and Pin/Unpin files on the IPFS node
  • Stamp the IPFS file CID hash on theARK Blockchain
  • Open the IPFS stamp transaction on theARK Blockchain Explorer
  • Store the ARK Blockchain IPFS stamp transaction ID on the IPFS node usingOrbitDB
  • Synchronize the localOrbitDB store with the already-broadcasted ARK Blockchain IPFS CIDs

Install

yarn

Build

yarn build

Configure

You need to set environment variables to configure the project. Copy.env.example to.env and edit this file.

This is required.

Configuration optionDescriptionDefault value
SERVER_PORTServer port5000
FILE_UPLOAD_MAX_SIZEMax accepted file size when uploading a file to the IPFS node20971520 (i.e. 20 MB)
IPFS_NODE_MULTIADDRIPFS node multiaddr'/ip4/127.0.0.1/tcp/5001'
IPFS_NODE_STAMPED_DIRDirectory to target on the IPFS node'/stamped'
ORBIT_DB_STOREOrbitDB log store'stamped_db'
ARK_API_URIARK node API URI'https://dexplorer.ark.io/api/v2'
ARK_EXPLORER_URIARK explorer URI'https://dexplorer.ark.io'
ARK_NETWORKARK Blockchain network'devnet'
ARK_TRANSACTION_FEEARK IPFS transaction stamp fees'10000000' (i.e.0.1 ARK)
ARK_WALLET_PASSPHRASEARK wallet passphrase'wallet ark blockchain passphrase'

Run

yarn start

Screenshot

Screenshot

License

The MIT license

About

📝 Add files to IPFS and stamp its IPFS CID hash permanently on the ARK Blockchain

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp