Put file in other user's app bucket

#1

Is it possible to putFIle via https request (or via library) in other user’s app bucket if app private key is known ?

#2

Yes it is possible @kailuas since gaia storage uses a decentralized storage model.

#3

how ?

#4

you should look into Radiks https://github.com/blockstack-radiks/radiks

#5

I can’t use it in my react native project

#6

It’s possible to use Radiks in React Native…the client just needs to be ported over. The Radiks server should work as is.

Here is what need to be ported over (might be more) :

  • Swap out localstorage for AsyncStorage/SecureStorage
  • Change blockstack.js dependencies to RNBlockstack https://github.com/blockstack/blockstack-react-native.
  • It also might help pulling in some crypto and buffer libs using rn-nodeify . I run this as a post install step in npm "postinstall": "rn-nodeify --install stream,buffer,events,assert,vm,crypto,blob --hack",

I started porting it over here (sort of working on android): https://github.com/ntheile/goodtimes/tree/master/src/app/radiks

#7

Have you try to use it in react native ?
Is there ready solution ?

#8

yeah im creating a react native app called goodtimes (same repo above) and got some basic functionality working on android