Affix your onchain seal and let the world verify it.
- UI repo: https://github.com/julienbrg/affix-ui
- Live demo: https://affix-ui.vercel.app
Organisations, businesses and individuals can authenticate their documents using Filecoin while keeping their existing workflows intact. Anyone can then instantly verify that documents are genuine and unaltered.
# Clone the repository
git clone https://github.com/julienbrg/affix-contracts.git
cd affix-contracts
# Install dependencies
bun install
# Build the project
forge buildRun the basic test suite:
forge testIn a seperated shell:
supersim fork --chains=opThen:
forge script script/DeployAffixFactory.sol --rpc-url op --broadcast
forge script script/RegisterEntity.s.sol --rpc-url op --broadcast
forge script script/AddAgent.s.sol --rpc-url op --broadcast
forge script script/IssueDocument.s.sol --rpc-url op --broadcast
forge script script/VerifyDocument.s.sol --rpc-url op --broadcastforge script script/DeployAffixFactory.sol \
--rpc-url optimism \
--broadcast \
--verifyAfter successful factory deployment, update the factory address in script/RegisterEntity.s.sol:
// Update this line with your deployed factory address
address constant AFFIX_FACTORY_ADDRESS = <NEW_FACTORY_ADDRESS>;forge script script/RegisterEntity.s.sol \
--rpc-url optimism \
--broadcast \
--verifyforge script script/AddAgent.s.sol \
--rpc-url optimism \
--broadcastforge script script/IssueDocument.s.sol \
--rpc-url optimism \
--broadcastFeel free to reach out to Julien on Farcaster, Element, Status, Telegram, Twitter, Discord, or LinkedIn.
This project is licensed under the GNU General Public License v3.0.