NEARBuilders / discoverbos

Community driven BOS curation platform.
https://discoverbos.org
The Unlicense
3 stars 1 forks source link

Populate projects and build project feed #30

Open elliotBraem opened 1 year ago

elliotBraem commented 1 year ago

See the schema here

Hey guys, have added 50+ projects to catalog for testing purpose, which you can query from here: 

NEAR_ENV=mainnet near view social.near get '{"keys":["awesomebos.near/catalog/**"]}'

Also, we have uploaded 50+ projects to legacy-awesome.near. Currently only basic info are uploaded. Contracts and tokens info will be added a bit later. Please feel free to take a look and comment. 

Query uploaded project IDs

NEAR_ENV=mainnet near view social.near keys '{"keys":["legacy-awesome.near/project/*"]}'

Query project details of octopus network.

NEAR_ENV=mainnet near view social.near get '{"keys":["legacy-awesome.near/project/octopus-network/**"]}'

If there's no issues, we will upload more projects in coming few days.

Populate the project feed with this data. In order, these function calls are the same as:

const projectKeys = Social.keys("awesomebos.near/catalog/**");

const projects = Social.keys("legacy-awesome.near/project/**")

const projectData = Social.keys("legacy-awesome.near/project/octopus-network/**")
itexpert120 commented 1 year ago

Created a feed that feches events and passes it to Projects.Page