HollywoodLand: Token and Governance Smart Contracts with an Admin Dashboard on Polygon
A restricted ERC-777 token, upgradeable contracts for film ownership and voting, and a dashboard signed with MetaMask and Ledger
About the project
- Project: HollywoodLand, a film-financing community on Polygon
- Industry: Film and entertainment, blockchain
- Timeline: March 2022 – January 2024
- Technologies: Solidity, OpenZeppelin, Truffle, Polygon, web3.php, JavaScript, Infura, MetaMask and Ledger, WordPress
- Team: a smart-contract developer, a web developer and a project manager
HollywoodLand is a film-financing community on the Polygon blockchain. Members hold a token, own shares of film projects as NFTs, and vote on decisions. The client came with a detailed idea and a real constraint: the token must be restricted at first, so that every address is approved before it can trade, and the code must survive an external audit.
So the product needed contracts that can be changed after launch without losing data, and a tool that lets non-developers run them safely. We worked on it from the first specification in March 2022 until the contracts were verified on Polygonscan in January 2024.
What we delivered
THE CHALLENGE
- Every address approved before it can trade.
- Contracts that change without losing data.
- An external security audit.
- Admins who are not developers.
THE SOLUTION
- Eleven upgradeable contracts behind proxies.
- Tests for about three quarters of the code.
- Audit fixes and change requests.
- A dashboard with MetaMask and Ledger signing.
THE OUTCOME
- A production launch on Polygon mainnet.
- An audit page with all checks passed.
- Verified source code on Polygonscan.
- 12 films subscribed in the first year.
When tokens are restricted and keys are precious, the admin tool must be as careful as the contracts.
Stage one: contracts from a specification
In April 2022 we started from the client's specification and wrote our own business requirements document. We planned two-week sprints, and each block of code was followed by a block of tests. In the end, the tests made up about three quarters of all the code.
The scope grew as the client refined the product. It began with a token and a few supporting contracts. After that, the wish to let several people own one NFT made us rewrite three large contracts, and by August 2022 the set had grown to seven contracts and a final requirements document.
The token follows the ERC-777 standard and keeps a list of approved addresses with a restricted period. Ownership of a film project is a lightweight fractional NFT of our own, because ERC-1155 would have needed deep changes to a standard library. Every contract sits behind a proxy, so we can upgrade the logic while the stored data stays.
Stage two: tests, audit and fixes
By December 2022 the contracts ran on the Polygon test network, and the client's code reviewers had the full repository. A third-party security audit followed in the spring of 2023.
The auditors asked why we chose ERC-777, and we explained that the client's requirements and the cost of transfers led to it. They also raised points about voting rights after delegation and about when an NFT price should be updated. As a result, we fixed the findings, finished the tests for the Governor contract and sent the code for a re-check.
The final audit page of July 2023 showed all checks as passed, except one warning that is a business requirement: the restricted token behaviour. Along the way, the client added governance features, such as who may start a vote, and we handled each as a change request.
Stage three: a dashboard for the contracts
In August 2023 the client was ready for a dashboard. We tried the Base test network first, but node providers there did not support the methods we needed, so we moved the testing to Polygon with Infura.
Our web developer built the dashboard inside the client's WordPress site. Admins link a wallet to a member profile, register addresses, send and mint tokens, and manage roles. Each action is a transaction signed in the browser with MetaMask and a Ledger hardware wallet. The client refused to keep private keys on the server, so we changed the first approach, which signed on the server, to browser signing.
A "Smart Contract Roles" page grants and revokes roles across the whole batch of contracts at once and checks the current roles before it sends anything. In addition, a manual gas field solved the failed estimates we saw on the main network.
Going live on Polygon
On 16 October 2023 we deployed the eleven contracts to Polygon mainnet and to the test network. The client's team then took over the admin wallets, and we adjusted the dashboard for the mainnet, which went into production in November 2023.
In December we added a mint page and handled token decimals, so that admins type whole tokens and the dashboard converts them. Finally, on 13 January 2024, all contracts were verified and published on Polygonscan, which the external reviewers had asked for.
What turned out to be hard
- Server signing. Sending a signed transaction from PHP took days to debug, and then the client's security requirement moved signing into the browser.
- Role lists. The access-control library cannot list all holders of a role, so the dashboard keeps an off-chain list and checks every role before a change.
- Gas on mainnet. Automatic gas estimates failed on Polygon mainnet, so we added a manual gas limit to every form.
- Contract verification. Publishing the source on Polygonscan took several attempts with different flatteners, and manual flattening with pinned library versions finally worked.
- Changing requirements. Governance rules grew during the project, so we kept a change-request process and kept the tests ahead of the code.
Result of the project
Since late 2023, the contracts and the dashboard have run in production on Polygon mainnet, and the source code is public and verified. The client reported that 12 films subscribed during the first year after launch. After the main delivery we kept supporting the project with small requests.
Looking for a similar platform? See our blockchain development services or read how we built a marketplace with an interactive map. The contracts use the OpenZeppelin library.
Need smart contracts and an admin tool your team can run? Tell us about your task.

DappStats: DApp Ranking Platform with Blockchain Data Collectors
A ranking site for decentralized apps with collectors that read Ethereum and TRON data.Laravel · Ethereum
Crypto Trading Bot Platform: Web App, Risk Controls and Node Scaling
A refactor of a Node.js trading bot and a Next.js web platform around it: subscriptions, an admin panel, draw-down and trailing stop controls, a user queue and node rotation.Node.js · Vue.js/React · Ethereum
Big Picture Coin: Token, Lottery and Staking Smart Contracts on Ethereum
Smart contracts for a fixed-price token, a lottery and staking on Ethereum, with tests, audit fixes and launch instructions.Ethereum
Swimming Los Angeles: Swim School Website Redesign
A responsive WordPress redesign for a swim school with class tables and a map of four pools.WordPressContact us
Please fill out the form, and we will get back to you once your request has been processed.
You can also send your request directly to our email: info@24gen.space
We will respond as soon as possible after receiving your message.




