Skip to content

renotion-xyz/contracts

Repository files navigation

Renotion Smart Contract

The smart contract is based on ERC-721. It allows to purchages a registration, which will hold a mapping from a domain to a Notion Page.

When mapping is established, the Renotion Cloudflare Worker will proxy the Notion Page according to the blockchain state.

The contract is based on OpenZeppelin Upgradable ERC-721.

The web-app to interact with the contract: https://github.com/renotion-xyz/web3-app

TODO

  • Allow to store more metadata: SEO, custom scripts for analytics, etc

Deployment

Test

npx hardhat test

Deploy

npx hardhat run scripts/deploy.ts --network poly