The official monorepo powering the LONDON contracts, generative art, and front-end dapp.
The LONDON repo is structured as a monorepo containing many packages that reach all aspects of the LONDON ecosystem.
Package | Description |
---|---|
app |
Core next.js webapp of pob.studio and HASH and lambdas |
protocol |
Core protocol of LONDON, contains the ERC721 token, minter contracts, and other future things. |
sketches |
Generative art and a development runtime |
scripts |
Some administrative scripts to help with running POB (ie refresh opensea metadata) |
The sketches
package depends on the node-canvas
package which have external binary dependencies. Before running yarn install
first consult the docs here.
In the root of the directory:
$ yarn install
Visit the app
repo and add a .env
file with the following variables:
NEXT_PUBLIC_CHAIN_ID="1"
NEXT_PUBLIC_ALCHEMY_KEY="ALCHEMY_KEY"
Setup an alchemy account and get an api key to be put in the .env file.
Walla! visit localhost:3000
to see your build running locally!
Visit the protocol
repo and add a .env
file with the following variables:
RINKEBY_NETWORK_RPC_URL="OPTIONAL"
RINKEBY_MNEMONIC="OPTIONAL"
MAINNET_NETWORK_RPC_URL="OPTIONAL"
MAINNET_PRIVATE_KEY="OPTIONAL"
ETHERSCAN_API_KEY="OPTIONAL"
Provide either networks corresponding url and key.
With npx
you can run hardhat tasks like so:
$ npx hardhat deploy-nft --network rinkeby
As the project is now governed by the LONDON DAO, this repo's continued development is incentived via DAO proposals and grants. As POB studios, we will maintain and host the production build of the website and review PRs.