protocol / w3dt-sudo

Building the web3 stack fast-lane from onboarding to super-user & contributor
4 stars 1 forks source link

chore: exploration report on connecting lotus client with lotus instance #3

Closed vasco-santos closed 3 years ago

vasco-santos commented 3 years ago

This PR adds an exploration report on connecting the lotus-client with a deployed lotus instance from #2

The inconsistencies found during this work are detailed in the report and I will take as action items to open Issues/PRs where relevant to get them fixed.

rvagg commented 3 years ago

So FYI if you're inclined to get your hands dirty, the Lotus CLI is actually pretty easy to modify and should be familiar if you've used anything like node-commander or yargs. I did that after my exploration for lotus client list-asks @ https://github.com/filecoin-project/lotus/pull/5691 but for just changing docs it's really simple and the patterns are established throughout the file you're editing because they're all so big.

https://github.com/rvagg/lotus/blob/master/cli/auth.go is for lotus auth - although it does seem to have docs for --perms but it may be because the help is weird, lotus auth api-info help should show it.

vasco-santos commented 3 years ago

I will definitely have a look into the CLI fix. Thanks @rvagg