purefinance
pure.finance
JavaScript

Pure.Finance website and web3 dapp

Last updated May 21, 2026
12
Stars
11
Forks
26
Issues
0
Stars/day
Attention Score
42
Language breakdown
No language data available.
Files click to expand
README

Pure Finance website monorepo

Development

npm install
npx lerna run --stream dev

Then open the browser at http://localhost:3000.

Adding a new mini-app

  • Add the new page component at site/pages.
  • Add it to the Utilities component so it appears in the home page.
  • Go from there!

Testing

Merkle claims

Go to packages/merkle-box-lib and create a list of recipients as a JSON file:

[
  {
    "account": "0x0000000000000000000000000000000000000010",
    "amount": "1000000000000000000"
  },
  {
    "account": "0x0000000000000000000000000000000000000020",
    "amount": "2000000000000000000"
  }
]

Create the dataset:

node scripts/create-dataset.js recipients.json > dataset.json

And copy the data set file to the development web server at site/public.

Set NODE_URL, MNEMONIC and create the claim group:

node scripts/create-claim-group.js WETH http://localhost:3000/test20241231.json 2024-12-31

End-to-end tests

Set the following environment variables: BASENODEURL, MNEMONIC. Then run the tests:

npm run test:e2e

Deployment

npm ci
cd site
npm run build

Then upload the folder site/out to the hosting server.

© 2026 GitRepoTrend · purefinance/pure.finance · Updated daily from GitHub