User-Stories #483
Replies: 12 comments
-
Are you suggesting to start all services in one command? we have up single individual service but no up all yet.
rainbowup has been named as rainbow-bridge-cli as #99 . for near-cli do you mean near-shell? |
Beta Was this translation helpful? Give feedback.
-
I think that sounds nice
near-shell was renamed to near-cli a couple weeks ago |
Beta Was this translation helpful? Give feedback.
-
@ilblackdragon Thank you for the highly detailed explanation! Let me summarize and propose a plan of action. It seems like we have three themes for the user-stories:
I propose the following timeline: Next 3 weeks@chadoh and me discussed this plan on a call.
Until Fully Tested Bridge Release is Closed
|
Beta Was this translation helpful? Give feedback.
-
Unless there are votes against it, we will proceed with this plan and this issue is going to be closed. |
Beta Was this translation helpful? Give feedback.
-
One slight correction. I envision this as two apps, built in this order:
I suspect this will provide the bridge onramp needed by ~90% of hackers. The other 10% can fork We could create hackathon prizes for the motivated subset of that 10% who want to contribute generic ERC20→NEP21 connectors, generic or specific NEP21→ERC20 connectors, and other such things. |
Beta Was this translation helpful? Give feedback.
-
@nearmax What is the solution for using solidity contracts from external repositories without pulling them out? |
Beta Was this translation helpful? Give feedback.
-
Also please see the generic token connector here - https://github.com/near/rainbow-token-connector I'm also trying to add more tests there, as I didn't find any tests for just connector contracts. |
Beta Was this translation helpful? Give feedback.
-
You gotta pull them out. But also, you can just copy this 5 line file: https://github.com/near/rainbow-bridge/blob/master/libs-sol/nearprover/contracts/INearProver.sol To develop MintableFungibleToken factory you would need to copy MintableFungibleToken for now. Our testing infrastructure is very complex, and I would strongly prefer if we were not distracting ourselves with refactoring before we are actually done with major parts of testing. I don't want us to spend 1+ week extracting contracts and fixing cross-repo tests and would rather spend this time stabilizing our code. Only designing how we are going to setup testing infrastructure across multiple repos once we extract the contracts will take me or @ailisp several hours or even 1+ days. If someone really wants to extract the contracts, then before we start extracting them, please propose a detailed plan of how we are going to setup testing infrastructure across multiple repos. |
Beta Was this translation helpful? Give feedback.
-
@nearmax @ilblackdragon I'm confused of what we are working on right now.
I hear you as you're suggesting to stop doing (1) and (2), and go directly to extract services? Not sure if I understand you properly. Please let me know if there is any misunderstanding. |
Beta Was this translation helpful? Give feedback.
-
@Kouprin Sorry, there is miscommunication between me and @ilblackdragon , we are syncing right now. Please continue working on:
We can still have |
Beta Was this translation helpful? Give feedback.
-
After try work with separate rainbow-bridge-rs and rainbow-bridge-sol, i found separate repo is better to work with, because:
|
Beta Was this translation helpful? Give feedback.
-
User stories are written. Removing it as a blocking issue from other issues. |
Beta Was this translation helpful? Give feedback.
-
This is list of user stories. They are combined in one place as they should be solved by coherent product design vs solved one by one.
To simplify the language, the pair of contracts like TokenLocker/MintableFungibleToken will be called "connectors"
User stories:
npm run test
, tests are running the relayers inside them via JS library -- don't need to run separate servicesnpm install rainbowup near-cli
rainbow-bridge services up
rainbow-bridge services status
-- outputs info on how are services doing?rainbow-bridge services down
-- stops servicesnear bridge-send <ethereum address> my.account <token-address> <amount>
-- leverages both NEAR's and existing web3 provider credentialsnear bridge-view <token-address> my.account
-- shows how much of this token on NEAR side you havenear bridge-create-account <ethereum address> <token-address> <amount>
-- this outputs linkdrop that you can use to grab your token on NEAR side while creating an accountImportant parts of the product that are missing:
near-cli
- instead of requiring rainbow cli to reinvent all the configuration, it should leveragenear-cli
with NEAR_ENV and existing configurations / key management.Beta Was this translation helpful? Give feedback.
All reactions