rholang / nft

https://nft-vert.vercel.app/
0 stars 0 forks source link

rchain-token contracts - import or acknowledge #1

Open dckc opened 3 years ago

dckc commented 3 years ago

https://github.com/rholang/nft/blob/main/packages/smart-contracts/src/rholang/nft2/abi2/op_send_purse.rho seems to be a copy of https://github.com/fabcotech/rchain-token/blob/master/rholang/op_send_purse.rho

Is it not feasible to import op_send_purse.rho into this project using npm?

If not, please at least acknowledge where the rholang contracts come from.

cc @fabcotech

fabcotech commented 3 years ago

I just removed send_purse from the rchain-token repo, it has been replaced by withdraw, that can handle NFT/FT withdrawals

dckc commented 3 years ago

@fabcotech is npm install rchain-token the way projects like this one are supposed to incorporate the contracts into their projects?

fabcotech commented 3 years ago

rchain-token is not registered on npm yet. See how it is imported in this package.json file for example -> https://github.com/fabcotech/dappy-cli/blob/master/package.json and how it is used to build terms -> https://github.com/fabcotech/dappy-cli/blob/master/lib/push.js