Skip to main content

Newlife Template

Newlife is a cloneable project that allows you to create a social network on Newcoin. It is a fully-functional social network for networks that allow users to create profiles, post content, support and power-up other creators' content using GNCO, stake into creator projects, and join creator DAOs. It is a great starting point for building your own social or creator network on Newcoin, and comes preloaded with features that make use of all the SDK has to offer.

Steps to create a Newlife Cloneable

1. Authenticate

You can authenticate multiple ways using the SDK, including using our SDKs, NewSafe, or by signing in to your Newlife account.

  • Navigate to the developer console.
  • Authenticate using Newsafe.


2. Navigate or redirect the developer console, and create a new app

Usually you will be redirected to your app page automatically after authenticating. If you are not, you can navigate yourself to the developer console. Once there you will have the option to create your app.


3. Select settings for your application

You will be prompted to select the settings for your application. Only a few are required for now, the rest can be left blank.

  • Choose a name
  • Choose a description
  • Choose a URL
  • Choose a tech stack.


4. Initialize your app

Almost there! Next, you use the provided scripts to initialize your app.

💡 Either step below will install the Newcoin SDK and all dependencies needed for the Newlife Clone.

For Windows

Wait for the app to initialize, and then copy and run the code snippet provided to initialize your project.

For Mac

Wait for the app to initialize, and then copy and execute the commands into your terminal.


yarn init / npm init
yarn add @newstackdev/iosdk @types/react@17.0.44
rsync -av ./node_modules/@newstackdev/iosdk/templates/plain/ .
yarn start

5. Start your app and add environment variables

Once your app is initialized, you will need to add environment variables supplied by the developer console.


You're done! You've initialized a ready-made app from the Newlife template.

You can spin up the app to view in the browser with the command yarn start or npm start

🎉 Happy coding