Big Picture Coin: Token, Lottery and Staking Smart Contracts on Ethereum

Three contracts in one package: a fixed-price token, a lottery and staking, with an audit, fixes and launch instructions

About the project

  • Project: Big Picture Coin, a token for a film-industry community
  • Industry: Film and entertainment, blockchain
  • Timeline: December 2021 – February 2022
  • Technologies: Solidity, Truffle, Ethereum, JavaScript, Infura
  • Team: a smart-contract developer and a project manager

Big Picture Coin is a token for a film-industry community. The client wanted three things in one smart-contract package: a token with a fixed price, a lottery and staking. He also wanted to launch fast, on the Ethereum network, and to put the contracts behind his existing website.

We worked on it from the first estimate in December 2021 until the launch in February 2022. Our part was the smart contracts and the help needed to deploy them, and the client's team built the website and the design.

A token launch leaves no room for second tries: the contracts must be small, tested and clear to the team that deploys them.

Estimate and scope

We started with the client's term sheet for the first phase. In the estimate, we split the work into coding, testing, a security audit by a third party and a buffer, for about four weeks in total.

Two early decisions shaped the project. First, the client asked to link the token to another asset. We explained that this needs a stablecoin with real cash reserves, so the token got a fixed price instead. Second, we warned that some token marketplaces do not accept a contract owner from the United States, so the client could plan the legal side in advance.

The contracts

Our smart-contract developer wrote the token, the lottery and the staking contract. The Ethereum network limits the size of a contract, so we planned time to refactor the code to fit into it.

Each contract came with tests that double as usage examples, and a deployment script. The README listed the steps and warned about three staking functions that exist only for testing and must be switched off before launch. In January 2022 we also wrote step-by-step launch instructions: use the real management and funds accounts, deploy to a test network first and to the main network after that. The code went to the client's repository on 17 January 2022.

Audit and fixes

The client ordered a security audit and a penetration test of the site from an independent company. The reports arrived on 4 February 2022. As a result, our developer fixed the findings within a day and pushed the corrected version on 6 February.

The contract was small, so the fixes were small as well.

Connecting the website

The client's website was built on Wix, which cannot talk to a blockchain out of the box. Three pages needed it: Buy and Sell, the Lottery and Staking.

We described the approach: custom JavaScript on each page reads the public methods of the contracts through an Infura node, and only the current staking balance is calculated on the page, so the visitor never pays for read calls. In addition, we estimated the front-end work. The client's team then built the pages from their own Figma design.

What turned out to be hard

  • Contract size. Ethereum limits the size of a contract, so we planned time to refactor the code to fit.
  • A site that cannot call a blockchain. Wix needed a custom JavaScript layer, so we designed it around public read methods.
  • A bug after launch. After the deployment, the client reported that a staking ID did not change when a stake was removed. We switched the storage from a list to a mapping and fixed the next-ID logic in about half an hour, and the contract was redeployed.
  • Fast deployment. The client wanted to move quickly, so we wrote the launch instructions and the deployment script in a way that let his team deploy on its own.

Result of the project

The client launched Big Picture Coin in February 2022 with the token, the lottery and staking on Ethereum. Before the launch, the contracts and the website went through an independent audit and a penetration test, and our findings were fixed within a day.

Looking for token contracts for your project? See our blockchain development services or read how we built governance contracts and an admin dashboard on Polygon. The contracts run on Ethereum and the website reads them through Infura.

Need a token, staking or a lottery on a blockchain? Tell us about your task.

SEE MORE OUR CASE STUDIES

Custom Development

SLINK: Survey Automation App for Windows Tablets

A field and office application for land surveyors: a drawing canvas for lots, structures and traverses, a cloud database and a Web API, built for Windows tablets and PCs.

Technologies:C#, WPFEyeshotSQL ServerAzure DevOps
Read case study
Mobile Development

BELONG: Smart Dating iOS App with an Events Admin Panel

A Xamarin iOS app and a Laravel admin panel on Firebase for an events-based dating startup: events, a calendar, Single and Not Single modes, push notifications and App Store releases.

Technologies:XamarinPHP, LaravelVue.jsFirebase, Yelp
Read case study
EdTech

ABC Stars: Online English School Platform with Live Video Lessons

A web platform for live one-to-one English lessons: a video classroom with shared books, a schedule generator, an admin panel and monthly parent reports.

Technologies:PHP, LaravelVue.jsOpenTokKami API
Read case study
Front-End Development

Timios: Website Front-End Development for a Title Company

Markup of a full website redesign for a US title and escrow company: Zeplin mockups on a Bootstrap grid, delivered into an ASP.NET WebForms site with IE11 fixes.

Technologies:HTML, CSS, JSBootstrapASP.NET WebFormsZeplin
Read case study
Mobile Development

Equipe Trading: Warehouse Pick and Pack Android App

An Android app for scanner devices that guides warehouse staff through picking and packing: order tabs, shelf locations, barcodes, cartons with printed labels and automatic statuses.

Technologies:AndroidREST APIZebra scannerFigma
Read case study
WordPress Development

Swimming Los Angeles: Swim School Website Redesign

A redesigned WordPress site for a swim school: responsive pages from our mockups, JackRabbit class tables, a Google map of four pools and an editable home page.

Technologies:WordPressCherryFrameworkJackRabbitGoogle Maps
Read case study
WordPress Development

Steerlyfe: WordPress Website for a Wellness Marketplace Startup

A WordPress website for a wellness marketplace app: pages built from our mockups, Mailchimp forms, and a shop and blog on one installation.

Technologies:WordPressThe7MailchimpInVision
Read case study
Mobile Development

Ivee: Companion Mobile App for a Smart Speaker

The interface of a companion app for the Ivee voice assistant speaker, built in Ionic: Wi-Fi connection, speakers by room and scenes with music, lights and a remote.

Technologies:IonicMobile interface
Read case study
iOS Development

Tribz: Rebuilding and Rescuing an iOS Personality Quiz App

A native iOS personality quiz app rebuilt from a prototype in Swift, then rescued after an App Store rejection: in-app purchases, Swift 3 migration and sharing fixes.

Technologies:SwiftiOSIn-App PurchasesTestFlight
Read case study
Blockchain Development

HollywoodLand DAO: Custom Blockchain Governance Platform for Decentralized Decision-Making

Decentralized governance solution with smart contracts and Web3 integration that enables secure DAO voting, token management, and transparent project funding.

Technologies:SolidityOpenZeppelinInfuraPHP/WordPressPolygonMetaMask/Ledger
Read case study
Custom Development

Taxi Fleet SaaS Platform: Architecture and Development of a Subscription Service (NDA Covered)

Architecture and development of a multi-tenant subscription platform that runs a taxi fleet end to end: dispatching, pricing, payments and rides that work offline.

Technologies:GoFlutterReactPostgreSQLKafkaRedisClickHouse
Read case study
Mobile Development

Truck Parts Identification App: Recognizing Heavy-Truck Parts from Photos (NDA Covered)

A mobile app and backend that identify heavy-truck parts from photos. A vision model observes, fixed rules decide, and short questions replace guesses.

Technologies:FlutterFastAPILangGraphPostgreSQLMinIODockerClaude API
Read case study
Web Platform MVP

DuelDog: CS:GO Esports Platform MVP with Game-Server Matches and PayPal Payouts

An MVP of an esports platform: players pay an entry fee, play 1v1 CS:GO matches on dedicated servers, and the winner is credited and paid out, with matchmaking, map veto, a server manager and an admin dashboard.

Technologies:ASP.NET MVCC#SourceModPayPalAzure, AWS
Read case study
Mobile and Cloud MVP

IPBuilding: Notification Platform MVP with an Android App and Azure Back End

An MVP that delivers alerts from building devices to the phones of staff: an Android app with push notifications, an ASP.NET back office and an OAuth 2.0 API for the client's servers, hosted on Azure.

Technologies:AndroidASP.NETOAuth 2.0Azure
Read case study
Web Platform

Splandeed: Marketplace Platform with an Interactive Map and Admin Panel

A French marketplace for the architecture and design sector: an admin panel for storefronts, a public site with an interactive map and hosting with SSL.

Technologies:LeafletJavaScriptAdmin panelLinode
Read case study
E-commerce

StrapMate: WooCommerce Subscription Box Store for Smartwatch Straps

An online store with three monthly subscription plans on WooCommerce, reworked from a commercial theme to the client's mockups, with packing lists that show what goes into every parcel.

Technologies:WordPressWooCommerceSubscriptionsStripe
Read case study
Blockchain Data Platform

DappStats: DApp Ranking Platform with Blockchain Data Collectors

A statistics and ranking site for decentralized apps: a front end, a Laravel rewrite and collectors that read Ethereum and TRON data.

Technologies:LaravelMySQLEthereumTRON
Read case study
Mobile and Logistics

Courier Tracking App for a Print Distribution Business (NDA Covered)

An Android app and a web admin panel that show managers where couriers work: GPS tracking, sectors drawn on a map, push notifications with intercom codes and reports.

Technologies:AndroidNode.jsGPSPush
Read case study
Web Platform

Employee Reviews Directory: Completing a Platform After a CMS Migration (NDA Covered)

A public directory of companies with employee reviews: working links and redirects, reCAPTCHA on every public form, moderation tools and support from 2017 to 2024.

Technologies:PHPYii2jQueryBootstrapreCAPTCHA
Read case study
Web Platform

Art Catalogue Website: Exhibits, Museums and Authors with Social Login (NDA Covered)

A bilingual catalogue of paintings, museums and artists: search, favorites, login with social accounts, layouts for phones and tablets, and an admin panel with content import.

Technologies:PHPWordPressOneAllResponsive
Read case study
Blockchain Development

Tezos Trading Bot in C++: DEX Monitoring, Strategies and Telegram Control

A C++ rewrite of a Tezos trading bot: Quipuswap pool monitoring, a market price feed, a rules and strategies framework and Telegram reports, running on the client's machine.

Technologies:C++TezosQuipuswapCoinbase APITelegram
Read case study
Blockchain Development

Waxify: Shopify App for Selling NFTs on the WAX Blockchain

A public Shopify app that sells digital collectibles together with physical goods: a merchant interface, checkout logic and asset issue on WAX, built on the Shopify Node.js template.

Technologies:Node.jsNext.jsShopify APIWAXMySQL
Read case study
E-commerce Development

Element Eight: Shopify Storefront, Subscriptions and Customer Account for a Skincare Brand

Shopify theme development from the client's Figma designs: Shop All, navigation, ingredients pages, auto-replenishment with Recharge and a custom My Account area.

Technologies:ShopifyRechargeJavaScriptCSS
Read case study
Blockchain Development

Crypto Trading Bot Platform: Web App, Risk Controls and Node Scaling (NDA Covered)

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.

Technologies:Node.jsNext.jsPostgreSQLDockerEthereum
Read case study

Contact 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.
 






    PDF, DOC, DOCX, JPG, GIF, PNG — up to 20 MB