0.6.3 • Published 7 months ago

@samurailegends/origins v0.6.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Samurai Legends | Origins

Publish Package to npmjs

Introduction

The purpose of this package is to make Smart Contracts and API Endpoints more accessible. This package can be used in any JavaScript project. The goal being that everyone can build projects without it becoming a clutter of hardcoded contracts.

Installation

npm

npm install @samurailegends/origins --save

yarn

yarn add @samurailegends/origins

pnpm

pnpm i @samurailegends/origins

How to use

The package in itself is simple to use, it compiles at the initial runtime to set the environmentally-based values.

Importing and usage

These values can be accessed like shown below:

import { contracts } from '@samurailegends/origins';


console.log(contracts.nfts('development').kunoichiNinja.main);
// -> 0xff3263f51103a09e94df4Db6fbd7085387CdceAe

// or (depending on the variable)

console.log(contracts.nfts('production').kunoichiNinja.main); 
// -> 0xcf5C4C321CcA54251ec672c5AF7B32832cF6439C
0.6.3

7 months ago

0.6.0

1 year ago

0.5.8

1 year ago

0.5.7

1 year ago

0.3.9

1 year ago

0.5.9

1 year ago

0.3.11

1 year ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.4

1 year ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.2

2 years ago

0.2.3

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.3.3

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago